getbestblockhash RPC Method
Parameters
This method does not accept any parameters
Returns
hex
Loading...
Request
1curl https://docs-demo.btc.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"id": 1, "jsonrpc": "2.0", "method": "getbestblockhash"}'5
1curl https://docs-demo.btc.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"id": 1, "jsonrpc": "2.0", "method": "getbestblockhash"}'5
Response
1{2"result": "000000000000000000016a63eea2cd5e870e45cf49f59bcb26fb53dde180fa59",3"error": null,4"id": null5}
1{2"result": "000000000000000000016a63eea2cd5e870e45cf49f59bcb26fb53dde180fa59",3"error": null,4"id": null5}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free