Skip to content
docs

SimulationError

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

eth_call of the transaction reverted; nothing was signed or sent. reason is decoded when possible.

  • Error

new SimulationError(reason, data?): SimulationError

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

string

`0x${string}`

SimulationError

Error.constructor

readonly data: `0x${string}` | undefined

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

Raw revert data, when the node returned it.


readonly reason: string

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

Decoded revert reason, or the node’s message.