trace_callMany - Optimism RPC Method
Trace multiple calls in sequence on Optimism. Requires archive node for cross-chain DeFi, Superchain-interoperable dApps, and public goods funding recipients.
Traces multiple calls in sequence on Optimism, where each call can depend on the state changes of the previous one.
Archive Node Required
This method requires an archive node. It is not available on full nodes.
When to Use This Method
- Trace multiple calls across different blocks - Execute calls at different historical block heights for cross-block state analysis on Optimism
- Historical state comparison - Compare how the same call would execute at different points in Optimism chain history
- Multi-step simulation - Simulate a sequence of dependent calls where each step builds on the previous one for cross-chain DeFi, Superchain-interoperable dApps, and public goods funding recipients
- Batch operation tracing - Preview multiple contract interactions in a single RPC request
Best Practices
- Each call specifies its own block number for cross-block analysis
- Useful for comparing state across time without multiple requests
- More efficient than separate trace_call requests for multi-step workflows
- Requires archive node access for historical block state
Response Body
ResponseCode Examples
Related Methods
trace_call- Trace a single calleth_call- Execute call without trace
trace_call
Trace a call without creating a transaction on Optimism. Requires archive node for cross-chain DeFi, Superchain-interoperable dApps, and public goods funding recipients.
trace_filter
Filter traces by address and block range on Optimism. Requires archive node for cross-chain DeFi, Superchain-interoperable dApps, and public goods funding recipients.