trace_call - Berachain RPC Method
Trace a call without creating a transaction on Berachain. Requires archive node for liquidity-aligned DeFi (Infrared, Kodiak), yield farming, and validator-integrated liquidity incentives.
Traces a call without creating a transaction on Berachain, returning the trace output.
Archive Node Required
This method requires an archive node. It is not available on full nodes.
Use Cases
- Call simulation - Preview internal calls before sending a transaction
- Contract interaction analysis - Understand how contracts interact
- Gas estimation - Analyze gas usage patterns for liquidity-aligned DeFi (Infrared, Kodiak), yield farming, and validator-integrated liquidity incentives
Response Body
ResponseCode Examples
Related Methods
trace_filter- Filter traces by criteriaeth_call- Execute call without tracetrace_transaction- Trace a specific transaction
trace_block
Get traces for all transactions in a block on Berachain. Requires archive node for liquidity-aligned DeFi (Infrared, Kodiak), yield farming, and validator-integrated liquidity incentives.
trace_callMany
Trace multiple calls in sequence on Berachain. Requires archive node for liquidity-aligned DeFi (Infrared, Kodiak), yield farming, and validator-integrated liquidity incentives.