bb_getBlockHash RPC Method - Blockbook
Please note that this RPC method requires the Blockbook RPC add-on enabled on your Quicknode endpoint.
Parameters
blockHeight
string
REQUIRED
Loading...
Returns
result
object
Loading...
blockHash
string
Loading...
Request
1curl -X POST "https://docs-demo.btc.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "bb_getBlockHash",6"params": [7"816884"8],9"id": 110}'
1curl -X POST "https://docs-demo.btc.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "bb_getBlockHash",6"params": [7"816884"8],9"id": 110}'
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