Skip to content
docs

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.

  • SignerError

new ChainMismatchError(expected, actual, what?): ChainMismatchError

Defined in: wallet-evm/src/errors.ts:14

number

number

string = 'transaction'

ChainMismatchError

SignerError.constructor

readonly actual: number

Defined in: wallet-evm/src/errors.ts:13

The chain id the payload names.


readonly expected: number

Defined in: wallet-evm/src/errors.ts:11

The account’s chain id.