Skip to main content

debug_traceBlockByHash

Traces all transactions in a block on Bittensor by block hash.

Archive Node Required

This method requires an archive node. It is not available on full nodes.

Parameters#

ParameterTypeRequiredDescription
blockHashDATAYes32-byte block hash
tracerConfigObjectNoTracer configuration

Request#

{
"jsonrpc": "2.0",
"method": "debug_traceBlockByHash",
"params": ["0x2f0555cc76fc2840a25a6f3a0f0e6d0b1a6dd2e0cecc9e4c2e9e6f3a8d2e5c1b", {"tracer": "callTracer"}],
"id": 1
}

Code Examples#

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