trace_callMany | BNB Chain

BNB API method trace_callMany allows for multiple call transactions and returns their trace data. This method is particularly useful for developers who wish to simulate the execution of several transactions in sequence without broadcasting them to the network, enabling a comprehensive analysis of how a series of transactions would interact with the Ethereum Virtual Machine (EVM) and affect the blockchain state.


  • transactions โ€” an array of objects, each representing a transaction to be executed. Each transaction object includes fields such as from, to, gas, gasPrice, value, and data.
  • traceTypes โ€” an array of strings specifying the types of traces to return for each transaction, with options including:
    • vmTrace โ€” virtual machine trace.
    • trace โ€” standard execution trace.
    • stateDiff โ€” state difference trace.
  • blockNumber โ€” the block number against which all the transactions should be executed, with values:
    • specific block number โ€” execute against the specified block.
    • earliest โ€” the earliest block (usually genesis).
    • latest โ€” the most recent block.
    • pending โ€” the current pending state and transactions.


  • result โ€” An array containing the trace data for each executed transaction, as specified by the traceTypes. This data provides detailed insights into the execution path of each transaction, including VM operations, state changes, and other relevant information that helps understand the transactions' impact on the blockchain state.

Use case

The trace_callManyThe method is invaluable for developers and analysts who must understand the cumulative effect of multiple transactions on the blockchain state. This could be used to test complex interactions between smart contracts, debug transaction sequences for decentralized applications (DApps), or estimate the gas usage for a series of transactions. It provides a sandbox environment for safely simulating transactions, allowing for thorough testing and analysis without the risk of consuming gas or affecting the live blockchain.

Try the trace_callMany RPC method yourself

Click Try It! to start a request and see the response here!