Replay one transaction and return requested traces
POST
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.0requiredJSON-RPC protocol version.
methodstringtrace_replayTransactionrequiredJSON-RPC method name.
idinteger | stringrequiredClient-provided JSON-RPC request identifier. The same value is returned in the response.
paramsArray<string | Array<TraceType>>requiredParameters: transaction hash and trace types.
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.