Skip to main content

chain_getHeader - JSON-RPC Method

Returns the header for a given block hash. If no parameter is provided, returns the latest header.

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