getblockhash RPC Method
Parameters
height
numeric
REQUIRED
The height index of the block in the blockchain.
Returns
result
The hash of the block
error
The error message, if any
Request
1curl https://docs-demo.btc.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method": "getblockhash", "params": [1000]}'5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free