Skip to content
Alchemy Logo

trace_replayBlockTransactions

POST
/{apiKey}

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequireddefaults to finalized

Block identifier as a string. This can be a block hash, a block number (in hex), or a block tag (such as "latest", "finalized", etc.).

enum[]requireddefaults to trace

Array of trace types to return. Valid values include "trace" and "stateDiff".

Defaults to ["trace"].

Responses

200

Returns an array of trace objects for each transaction in the block.

Was this page helpful?