Skip to main content

ord_getBlockHash RPC Method - Ordinals & Runes API

Fetches the block hash using a block height.

Updated on
Aug 09, 2026
Please note that this method requires the Ordinals & Runes API enabled on your Quicknode endpoint.

Parameters

blockHeight
string
REQUIRED

The height of the block for which the hash is to be fetched

Returns

blockHash

The block hash of the given block height

Request
Response
1
{
2
"id": 1,
3
"result": "00000000000000000002e01e7c357e282ed3b15a8ef2b11f8d62c4d7eb7a8dac",
4
"jsonrpc": "2.0"
5
}
1
{
2
"id": 1,
3
"result": "00000000000000000002e01e7c357e282ed3b15a8ef2b11f8d62c4d7eb7a8dac",
4
"jsonrpc": "2.0"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free