Skip to main content
POST
trace_replayTransaction
Tempo 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
jsonrpc
string
default:2.0
method
string
default:trace_replayTransaction
params
any[]

Transaction hash and trace types array

id
integer
default:1

Response

200 - application/json

Replayed transaction trace

jsonrpc
string
id
integer
result
object

Trace result object with output, trace, vmTrace, and stateDiff

Last modified on June 22, 2026