Skip to content
Alchemy Logo

arbtrace_replayBlockTransactions

POST
/{apiKey}

Replays all transactions in the specified block and returns the requested trace types for each transaction. 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

string or enumrequired

The block number as a hexadecimal string, or a block tag such as "latest", "earliest", or "pending".

enum[]required

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

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

Responses

200

An array of trace results, one per transaction in the block.

Was this page helpful?