Skip to content
Alchemy Logo

arbtrace_replayTransaction

POST
/{apiKey}

Replays a specific transaction and returns the requested trace types without actually executing it on the network. This is an Arbitrum-specific tracing method that works for pre-Nitro blocks (before block 22,207,815). For post-Nitro blocks, use Geth debug_* methods.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^0x[0-9a-f]{64}$"required

The hash of the transaction to replay.

enum[]required

Array of trace types to return. Valid values: "trace", "vmTrace", "stateDiff".

Array of trace types to return (e.g., ["trace"]).

Responses

200

The trace result object for the replayed transaction.

Was this page helpful?