Skip to main content

getblockhash RPC Method

Loading...

Updated on
Apr 29, 2026

getblockhash RPC Method

Parameters

height
integer
REQUIRED
Loading...

Returns

result
string
Loading...
error
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": "getblockhash",
6
"params": [
7
1000
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": "getblockhash",
6
"params": [
7
1000
8
],
9
"id": 1
10
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0000000b70480327694608408728c65c1f1a300bfe705b01baca0f5504092e1b"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0000000b70480327694608408728c65c1f1a300bfe705b01baca0f5504092e1b"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free