⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

chain_getHead

Description

Return the best (non-finalized) block hash. Use for low‑latency reads when finality is not required.

Returns the block hash of the current best block (not necessarily finalized).

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