Skip to main content

getblockhash RPC Method

Loading...

Updated on
Feb 03, 2026

getblockhash RPC Method

Parameters

height
numeric
REQUIRED
Loading...

Returns

result
Loading...
error
Loading...
Request
1
curl -X POST "https://docs-demo.btc.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
"result": "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09",
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free