ChainMismatchError
Defined in: wallet-evm/src/errors.ts:9
Refused before signing: the payload’s chain is not the account’s chain. A tx for chain 1 signed by an account that detected chain 10, or typed data whose domain names another chain, is the classic replay / wrong-network mistake — surfaced here instead of as a reverted or stranded transaction.
Extends
Section titled “Extends”SignerError
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ChainMismatchError(
expected,actual,what?):ChainMismatchError
Defined in: wallet-evm/src/errors.ts:14
Parameters
Section titled “Parameters”expected
Section titled “expected”number
actual
Section titled “actual”number
string = 'transaction'
Returns
Section titled “Returns”ChainMismatchError
Overrides
Section titled “Overrides”SignerError.constructor
Properties
Section titled “Properties”actual
Section titled “actual”
readonlyactual:number
Defined in: wallet-evm/src/errors.ts:13
The chain id the payload names.
expected
Section titled “expected”
readonlyexpected:number
Defined in: wallet-evm/src/errors.ts:11
The account’s chain id.