Alchemy Logo

eth_callMany

POST
/{apiKey}

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

For higher throughput, create your own API key

Request

Bundlesobject[]required

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 overridesobjectoptional

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

Timeoutintegeroptional

The 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.

Was this page helpful?