Skip to main content

bb_getBlockHash RPC Method - Blockbook

Loading...

Updated on
Nov 12, 2025

bb_getBlockHash RPC Method - Blockbook

Please note that this RPC method requires the Blockbook RPC add-on enabled on your Quicknode endpoint.

Parameters

blockHeight
string
REQUIRED
Loading...

Returns

result
object
Loading...
blockHash
string
Loading...
Request
1
curl https://docs-demo.btc.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"id": 1, "jsonrpc": "2.0", "method": "bb_getBlockHash", "params": ["816884"]}'
Response
1
{
2
"id": null,
3
"result": {
4
"blockHash": "0000000000000000000332e287259a689c0dfcd7ec818fd272db7d4c595bf057"
5
},
6
"jsonrpc": "2.0"
7
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free