getbestblockhash RPC Method
Parameters
This method does not accept any parameters
Returns
hex
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": "getbestblockhash",6"params": [],7"id": 18}'
1curl -X POST "https://docs-demo.btc.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"jsonrpc": "2.0",3"result": "00000000000000000000b286a4d4ac73f6ad82e54d9ccf6d2d71c492ceeb4930",4"id": 15}
1{2"jsonrpc": "2.0",3"result": "00000000000000000000b286a4d4ac73f6ad82e54d9ccf6d2d71c492ceeb4930",4"id": 15}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free