Please note that this RPC method requires the Blockbook RPC enabled on your Quicknode endpoint.
Parameters
- blockHeightstringREQUIRED
The block height
Returns
- resultobject
A result object with the following field:
- blockHashstring
The hash of the block at the given height
Request
Response
1{2"id": 1,3"result": {4"blockHash": "0x043976bc1e8efaf2f4b0e241dfa3ba9f42aa5a1df8ae6548e1f9a9cd256ca9d7"5},6"jsonrpc": "2.0"7}
1{2"id": 1,3"result": {4"blockHash": "0x043976bc1e8efaf2f4b0e241dfa3ba9f42aa5a1df8ae6548e1f9a9cd256ca9d7"5},6"jsonrpc": "2.0"7}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free