Skip to main content

debug_traceBlockByNumber

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

Archive Node Required

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

Parameters#

ParameterTypeRequiredDescription
blockNumberQUANTITY|TAGYesBlock number or tag
tracerConfigObjectNoTracer configuration

Request#

{
"jsonrpc": "2.0",
"method": "debug_traceBlockByNumber",
"params": ["latest", {"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_traceBlockByNumber",
"params": ["latest", {"tracer": "callTracer"}],
"id": 1
}'