Module simulate
Available on crate feature
rpc
only.Expand description
‘eth_simulateV1’ Request / Response types: https://github.com/ethereum/execution-apis/pull/484
Structs§
- SimBlock
- Represents a batch of calls to be simulated sequentially within a block. This struct includes block and state overrides as well as the transaction requests to be executed.
- SimCall
Result - Captures the outcome of a transaction simulation. It includes the return value, logs produced, gas used, and the status of the transaction.
- Simulate
Error - The error response returned by the
eth_simulateV1
method. - Simulate
Payload - Simulation options for executing multiple blocks and transactions.
- Simulated
Block - Represents the result of simulating a block.
Constants§
- MAX_
SIMULATE_ BLOCKS - The maximum number of blocks that can be simulated in a single request,