cURL
curl --request POST \ --url https://{network}.s.chainbase.online/v1/{api-key} \ --header 'Content-Type: application/json' \ --data '{ "id": 1, "jsonrpc": "2.0", "method": "debug_traceBlockByNumber", "params": [ "0xed14e5", { "tracer": "callTracer" } ] }'
{ "id": 1, "jsonrpc": "2.0", "result": [ { "from": "<string>", "gas": "<string>", "gasUsed": "<string>", "to": "<string>", "input": "<string>", "calls": [ {} ], "value": "<string>", "type": "<string>" } ] }
Returns Geth style Block traces.
Parameters
Returns
TRACES - An array of traces as per Geth
"demo"
1
"2.0"
Successful Response
Show child attributes