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