getblockhash RPC Method
Parameters
height
integer
REQUIRED
Loading...
Returns
result
string
Loading...
error
string
Loading...
id
integer
Loading...
Request
1curl -X POST "https://docs-demo.bch-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "getblockhash",6"params": [710008],9"id": 110}'
1curl -X POST "https://docs-demo.bch-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "getblockhash",6"params": [710008],9"id": 110}'
Response
1{2"result": "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09",3"error": null,4"id": 15}
1{2"result": "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09",3"error": null,4"id": 15}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free