Skip to main content

bb_getBlockHash RPC Method - Blockbook

Loading...

Updated on
Apr 30, 2026

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 -X POST "https://docs-demo.zec-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "bb_getBlockHash",
6
"params": [
7
"2000000"
8
],
9
"id": 1
10
}'
1
curl -X POST "https://docs-demo.zec-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "bb_getBlockHash",
6
"params": [
7
"2000000"
8
],
9
"id": 1
10
}'
Response
1
{
2
"id": 1,
3
"result": {
4
"blockHash": "00000000010accaf2f87934765dc2e0bf4823a2b1ae2c1395b334acfce52ad68"
5
},
6
"jsonrpc": "2.0"
7
}
1
{
2
"id": 1,
3
"result": {
4
"blockHash": "00000000010accaf2f87934765dc2e0bf4823a2b1ae2c1395b334acfce52ad68"
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