⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

debug_traceTransaction

Traces the execution of a specific transaction, returning detailed information about each step.

Parameters

See Ethereum JSON-RPC spec for parameters of debug_traceTransaction.

Examples

curl -X POST https://api-chiliz-mainnet-archive.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "debug_traceTransaction",
"params": [
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
{"tracer": "callTracer"}
],
"id": 1
}'

Response

Returns detailed trace information about the transaction execution. Common error responses:

  • {"code": -32700, "message": "Parse error"} - Invalid JSON
  • {"code": -32602, "message": "Invalid params"} - Invalid parameters
  • {"code": -32603, "message": "Internal error"} - Server error