trace_call - Base RPC Method
Trace a call without creating a transaction on Base. Requires archive node for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations.
Traces a call without creating a transaction on Base, 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 consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations
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 Base. Requires archive node for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations.
trace_callMany
Trace multiple calls in sequence on Base. Requires archive node for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations.