Home

Replay a transaction

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

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

The trace_replayTransaction method replays a transaction and returns the execution traces.

This method is useful for debugging and analyzing specific transactions that have already been mined.

Body

application/json

The trace_replayTransaction method replays a transaction and returns the execution traces.

This method is useful for debugging and analyzing specific transactions that have already been mined.

Request payload for Replay a transaction.

jsonrpcstring2.0required

JSON-RPC version identifier

methodstringtrace_replayTransactionrequired

The method to be invoked

idinteger | stringrequired

Request identifier for matching responses

paramsArray<string | Array<string>>required

Array containing transaction hash and trace types

Show child attributes

Single JSON-RPC parameter value accepted by this method.

One of

Hash of the transaction to replay

string
Array<string>tracevmTracestateDiff

Response

200OK

Successful transaction 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