eth_callMany
Executes a list of transaction bundles without creating transactions on the blockchain. This method is particularly useful for simulating transactions to understand their potential outcomes. It supports simulating transactions at an intermediate state of a block, simulating multiple transactions with sequential dependencies, and overwriting block headers.
Path Parameters
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Request
Bundlesobject[]requiredA list of bundles where each bundle contains transactions and optional block overrides.
Simulation contextobjectrequiredThe context for the simulation, specifying the blockNumber or Tag and transactionIndex.
State overridesobjectoptionalAn optional mapping for state overrides, following the eth_call standard.
TimeoutintegeroptionalThe maximum running time for the simulations in milliseconds, defaulting to 5000 milliseconds.
Responses
200
A list of lists containing either the return value of the executed contract call or the reverted error code. Each bundle returns an array with one result per transaction.