debug_traceCall
Debug & trace | Tempo
debug_traceCall | Tempo
Tempo API method that traces the execution of a call without creating a transaction on the blockchain. Chainstack Tempo reference.
POST
debug_traceCall
Tempo API method that traces the execution of a call without creating a transaction on the blockchain. This is useful for debugging contract interactions before sending actual transactions.Documentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
callObject— the call object:from— (optional) sender addressto— recipient addressgas— (optional) gas limitgasPrice— (optional) gas pricevalue— (optional) value to senddata— (optional) call data
blockParameter— the block number (hex) or tag (latest,earliest,pending)tracerConfig— (optional) tracer configuration object:tracer— tracer type (e.g.,callTracer,prestateTracer)
Response
result— the trace result object, format depends on the tracer used
gas— gas usedfailed— whether the call failedreturnValue— return datastructLogs— array of execution steps
debug_traceCall code examples
The following example traces a balanceOf call on the pathUSD token:
Last modified on May 18, 2026