Trace API Endpoints

Alchemy provides access to an entire suite of Trace API endpoints, which give you deeper insights into transaction processing.

Endpoints

📘

NOTE

All Trace API endpoints are only supported on Ethereum Mainnet and Goerli Testnet.

MethodDescription
trace_callExecutes the given call and returns a number of possible traces for it.
trace_blockReturns traces created at given block.
trace_getReturns trace at given position.
trace_filterReturns traces matching given filter.
trace_transactionReturns all traces of the given transaction.
trace_rawTransactionTraces a call without making the call, returning the traces.
trace_replayBlockTransactionsReplays all transactions in a block returning the requested traces for each transaction.
trace_replayTransactionTraces a call without making the call, returning the traces.

What exactly is the Trace API?

Is this a standard RPC endpoint, or is it something Alchemy has developed?

The Trace API is a set of non-standard RPC methods developed by the OpenEthereum team and is now maintained by the Erigon team, not by Alchemy.
See https://openethereum.github.io/JSONRPC-trace-module.

What is the difference between the Ethereum Trace API and Debug API?

The Trace API, which is supported by Erigon node clients, is equivalent to Geth's Debug API. The Debug API offers more API methods than the Trace API and is more widely used because Geth is a more popular Ethereum node client. To compare the Trace API vs. Debug API, read our API comparison guide.

ReadMe