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_simulateV1method. - Simulate
Payload - Simulation options for executing multiple blocks and transactions.
- Simulate
Payload Seed - A deserialization seed that bounds the number of explicit blocks and calls in a simulation.
- Simulated
Block - Represents the result of simulating a block.
Enums§
- RawSimulate
Payload - An
eth_simulateV1payload whose decoding is deferred until the caller’s limits are known. - RawSimulate
Payload Error - Error returned by
RawSimulatePayload::parse. - Simulate
Payload Limit Exceeded - The simulation request limit exceeded during deserialization.
Constants§
- MAX_
SIMULATE_ BLOCKS - The maximum number of blocks that can be simulated in a single request,