⚡ Access Enhanced: 200 RPS Now Available for Customers of Shared Nodes with Access Tokens

eth

Ethereum

ETH

POST

GET

chevron-right

Last updated on January 1, 1970

1 min read

Method debug_traceCall Ethereum (ETH)
connect with WS protocol

debug_traceCall

info-circle-fill

Method not allowed

info-circle-fill

Returns a transaction trace object.

Parameters

Object - None

The transaction call object.

DATA - None

The block number in hex format, tags or the block hash.

DATA - None

The type of tracer.

Request

wscat -c wss://eth.getblock.io/YOUR-API-KEY/mainnet/ 
# wait for connection and send the request body 
{"jsonrpc": "2.0",
"method": "debug_traceCall",
"params": [{"to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567"}, "finalized", {"tracer": "callTracer"}],
"id": "getblock.io"}

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}