Skip to main content
POST
debug_traceCall
Arc 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.
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 address
    • to — recipient address
    • gas — (optional) gas limit
    • gasPrice — (optional) gas price
    • value — (optional) value to send
    • data — (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
For the default tracer:
  • gas — gas used
  • failed — whether the call failed
  • returnValue — return data
  • structLogs — array of execution steps

debug_traceCall code examples

The following example traces a balanceOf call on the pathUSD token:

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:debug_traceCall
params
array

Response

200 - application/json

Returns the result of debug_traceCall.

jsonrpc
string
id
integer
result
object
Last modified on August 3, 2026