Skip to main content

getbestblockhash RPC Method

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

Updated on
Apr 29, 2026

Parameters

This method does not accept any parameters

Returns

result
string

The hash of the best (most recent) block in the longest fully-validated chain, encoded as a hex string

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