Home

Replay one transaction and return requested traces

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

Replays a historical transaction by transaction hash and returns the requested trace outputs.

Body

application/json

Replays a historical transaction by transaction hash and returns the requested trace outputs.

Request payload for trace_replayTransaction.

jsonrpcstring2.0required

JSON-RPC protocol version.

methodstringtrace_replayTransactionrequired

JSON-RPC method name.

idinteger | stringrequired

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

paramsArray<string | Array<TraceType>>required

Parameters: transaction hash and trace types.

Show child attributes

trace_replayTransaction positional parameter.

One of

Transaction hash to replay.

string
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.