Skip to navigation

trace_replayTransaction

Requires enablement: trace_* methods are not on Conduit’s default method allowlist. Contact Conduit support to enable them for your chain. They are supported on Reth-based (op-reth) endpoints only; Geth- and Nitro-based endpoints return -32601 method not found.

Re-executes a mined transaction and returns any combination of a call trace, an opcode-level VM trace, and a state diff.

⚡ Compute Units: 410 CU

Request

This endpoint expects an object.
transactionHashstringRequiredformat: "^0x[0-9a-fA-F]{64}$"

32-byte transaction hash.

traceTypeslist of enumsRequired
Trace types to return.
Allowed values:

Response

Replay result.
outputstringOptionalformat: "^0x[0-9a-fA-F]*$"
tracelist of objects or nullOptional

Call traces, when trace is requested.

vmTraceobject or nullOptional

Opcode-level trace, when vmTrace is requested.

stateDiffobject or nullOptional

State changes keyed by address, when stateDiff is requested.

transactionHashstringOptionalformat: "^0x[0-9a-fA-F]{64}$"

Set by trace_replayBlockTransactions.