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_traceBlockByHash", "params": [ "0x4e216c95f527e9ba0f1161a1c4609b893302c704f05a520da8141ca91878f63e", { "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"
"debug_traceBlockByHash"
[ "0x4e216c95f527e9ba0f1161a1c4609b893302c704f05a520da8141ca91878f63e", { "tracer": "callTracer" }]
Successful Response
Show child attributes