Skip to main content

debug_getRawBlock

Description#

Fetch raw SCALE‑encoded headers, blocks, or receipts for deep debugging or tooling. Usually disabled on public RPC.

Returns the raw SCALE-encoded block data for a given hash.

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_getRawBlock","params":[],"id":1}'