Home

Trace a raw transaction without broadcasting it

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

Traces a raw signed transaction as if eth_sendRawTransaction were called, but does not submit the transaction to the network.

Body

application/json

Traces a raw signed transaction as if eth_sendRawTransaction were called, but does not submit the transaction to the network.

Request payload for trace_rawTransaction.

jsonrpcstring2.0required

JSON-RPC protocol version.

methodstringtrace_rawTransactionrequired

JSON-RPC method name.

idinteger | stringrequired

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

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

Parameters: raw transaction, trace types, optional block identifier.

Show child attributes

trace_rawTransaction positional parameter.

One of

Raw signed transaction encoded as hex bytes.

string
Array<TraceType>tracevmTracestateDiff

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

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.