Skip to content
Alchemy Logo

trace_rawTransaction

POST
/{apiKey}

Traces a call to eth_sendRawTransaction without executing it, returning the traces.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^0x[0-9a-fA-F]*$"required

Raw transaction data.

enum[]requireddefaults to trace

Array of trace types to return. Valid values include "trace" and "stateDiff".

Defaults to ["trace"].

Responses

200

Returns the traces from the raw transaction call.

Was this page helpful?