ord_getBlockHash RPC Method
Please note that this method requires the Ordinals & Runes API add-on 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
1curl --location 'https://docs-demo.btc.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"method": "ord_getBlockHash",5"params": [68433957],8"id": 1,9"jsonrpc": "2.0"10}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free