Skip to main content

bb_getBlockHash RPC Method

Returns the hash of the block at the given height.

Updated on
Nov 14, 2024

bb_getBlockHash RPC Method

Please note that this RPC method requires the Base Blockbook JSON-RPC add-on enabled on your QuickNode endpoint.

Parameters

blockHeight
integer
REQUIRED
The block height

Returns

result
object
A result object with the following field:
blockHash
string
The hash of the block at the given height
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free