Home

Replay transactions from a block

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

The trace_replayBlockTransactions method replays all transactions in a block and returns the requested traces for each transaction.

This method is useful for analyzing all transactions in a specific block and understanding their execution paths and state changes.

Body

application/json

The trace_replayBlockTransactions method replays all transactions in a block and returns the requested traces for each transaction.

This method is useful for analyzing all transactions in a specific block and understanding their execution paths and state changes.

Request payload for Replay transactions from a block.

jsonrpcstring2.0required

JSON-RPC version identifier

methodstringtrace_replayBlockTransactionsrequired

The method to be invoked

idinteger | stringrequired

Request identifier for matching responses

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

Array containing block identifier and trace types

Show child attributes

Single JSON-RPC parameter value accepted by this method.

One of

Block number in hexadecimal format

string

Block tag specifying which block to replay

stringlatestearliestpendingsafefinalized
Array<string>tracevmTracestateDiff

Response

200OK

Successful block transactions replay response

400Bad Request

Invalid request parameters

401Unauthorized

Unauthorized: API key is present but rejected by the NOWNodes gateway.

405Method Not Allowed

Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.

422Unprocessable Entity

Missing API key. The NOWNodes gateway returns plain text for this error.

500Internal Server Error

Internal server error