Skip to main content
POST
trace_call
Arc API method that traces a call without creating a transaction. This provides detailed execution traces using the Parity/OpenEthereum trace format.
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
  • traceTypes — array of trace types to include:
    • trace — basic execution trace
    • vmTrace — full VM execution trace
    • stateDiff — state changes
  • blockParameter — the block number (hex) or tag (latest, earliest, pending)

Response

  • result — the trace result object:
    • output — return data from the call
    • trace — array of trace objects (if requested)
    • vmTrace — VM execution trace (if requested)
    • stateDiff — state differences (if requested)

trace_call 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:trace_call
params
array

Response

200 - application/json

Returns the result of trace_call.

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