Home

Replay all transactions in a block and return requested traces

POST
https://eth-archive.nownodes.io/

Replays every transaction in the selected block and returns the requested trace outputs for each transaction.

Body

application/json

Replays every transaction in the selected block and returns the requested trace outputs for each transaction.

Request payload for trace_replayBlockTransactions.

jsonrpcstring2.0required

JSON-RPC protocol version.

methodstringtrace_replayBlockTransactionsrequired

JSON-RPC method name.

idinteger | stringrequired

Client-provided JSON-RPC request identifier. The same value is returned in the response.

paramsArray<string | string | Array<TraceType>>required

Parameters: block identifier and trace types.

Show child attributes

trace_replayBlockTransactions positional parameter.

One of

Ethereum block identifier accepted by the trace API.

One of

Block number encoded as a hexadecimal quantity, or a 32-byte block hash depending on method context.

string

Named Ethereum block tag.

stringlatestearliestpendingsafefinalized
Array<TraceType>tracevmTracestateDiff

Response

200OK

Successful JSON-RPC response or JSON-RPC method error.

400Bad Request

Invalid HTTP request body or malformed JSON-RPC payload.

401Unauthorized

Missing or invalid API key.

500Internal Server Error

Internal server error.