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-demo

Request

This endpoint expects an object.
Bundleslist of objectsRequired
A list of bundles where each bundle contains transactions and optional block overrides.
Simulation contextobjectRequired
The context for the simulation, specifying the blockNumber or Tag and transactionIndex.
State overridesmap from strings to objectsOptional

An optional mapping for state overrides, following the eth_call standard.

TimeoutintegerOptional>=1
The maximum running time for the simulations in milliseconds, defaulting to 5000 milliseconds.

Response

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.
object
OR
object