Docs

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

Response

Code Examples