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

debug_traceCall

Traces the execution of a call, returning detailed information about the execution path.

Parameters

See Ethereum JSON-RPC spec for parameters of debug_traceCall.

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_traceCall",
"params": [
{
"to": "0x742d35Cc6639C0532fEb01040FF4B8d2ba3C7c4d",
"data": "0x70a08231000000000000000000000000742d35Cc6639C0532fEb01040FF4B8d2ba3C7c4d"
},
"latest",
{"tracer": "callTracer"}
],
"id": 1
}'

Response

Returns detailed trace information about the call 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