Skip to main content

getbestblockhash RPC Method

Returns the hash of the tip block in the most-work fully-validated chain.

Updated on
Feb 04, 2026

Parameters

This method does not accept any parameters

Returns

result
string

The hash of the best (tip) block in the most-work fully-validated chain

error
object | null

JSON-RPC error object when the request failed, or null on success

id
integer

The JSON-RPC request identifier

Request
Response
1
{
2
"result": "000000000000000000516816955012ae5d1947e12fb984c547340da216ab29f9",
3
"error": null,
4
"id": 1
5
}
1
{
2
"result": "000000000000000000516816955012ae5d1947e12fb984c547340da216ab29f9",
3
"error": null,
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free