Skip to main content
POST
trace_replayTransaction
Arc API method that replays a specific transaction and returns detailed execution traces. This is useful for debugging transaction behavior with customizable trace options.
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

  • transactionHash — the hash of the transaction to replay
  • traceTypes — array of trace types to include:
    • trace — basic execution trace
    • vmTrace — full VM execution trace
    • stateDiff — state changes

Response

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

trace_replayTransaction code examples

Body

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

Response

200 - application/json

Returns the result of trace_replayTransaction.

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