Skip to content

Simulate payload ​

The first parameter of eth_simulateV1. It describes one or more blocks of calls.

Fields ​

FieldTypeMeaning
blockStateCallslist of at most 256 blocksThe blocks to simulate, in order. Each block has calls, and optional stateOverrides and blockOverrides.
blockStateCalls[].callslist of Transaction call objectsThe calls of the block, in order. Each call sees the effects of the calls before it. A call can also set chainId.
blockStateCalls[].stateOverridesState overrideChanges to the state before this block.
blockStateCalls[].blockOverridesBlock overrideThe fields of this block. Numbers and times must increase from block to block.
validationbooleanCheck the calls as real transactions: nonces, balances, the base fee. Default: false.
traceTransfersbooleanAdd a log for each ether transfer (from the address 0xeeee...eeee). Default: false.
returnFullTransactionsbooleanReturn full transaction objects in the blocks, not hashes. Default: false.

Used by ​

eth_simulateV1.