|debug_traceBlockByHash||All Networks||All Networks||All Networks||All Networks||Unsupported||Unsupported|
|debug_traceBlockByNumber||All Networks||All Networks||All Networks||All Networks||Unsupported||Unsupported|
|debug_traceTransaction||All Networks||All Networks||All Networks||All Networks||Unsupported||Unsupported|
|debug_traceCall||All Networks||All Networks||All Networks||Optimism Goerli||Unsupported||Unsupported|
What exactly is the Debug API?
Is this a standard RPC endpoint, or is it something Alchemy has developed?
The Debug API is a set of non-standard RPC methods developed by the Go-Ethereum team, not by Alchemy.
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.
"execution aborted (timeout = 15s)"
If you get a
-32000 timeout error on a debug_traceBlockByNumber or debug_traceBlockByHash call, we recommend fetching the traces by transaction using debug_traceTransaction instead of by block. This will give you the same exact data but broken up into smaller requests.
- all transactions will work with debug_traceTransaction
- not all blocks will work with debug_traceBlockByNumber or debug_traceBlockByHash - depending on the number of txs in a block we can hit our timeout (15 seconds)
- when this happen, you just have to trace by transaction instead of by block - this is more granular and does not require tracing all txs in block at once
The reason we have this timeout in place is to protect our nodes from very large requests.
Some blocks have a large amount of transactions and could cause the call to hit a timeout.