getbestblockhash RPC Method
Parameters
This method does not accept any parameters
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": "getbestblockhash",6"params": [],7"id": 18}'
1curl -X POST "https://docs-demo.bch-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "getbestblockhash",6"params": [],7"id": 18}'
Response
1{2"result": "000000000000000000516816955012ae5d1947e12fb984c547340da216ab29f9",3"error": null,4"id": 15}
1{2"result": "000000000000000000516816955012ae5d1947e12fb984c547340da216ab29f9",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