Skip to main content

chain_getBlockHash RPC Method

Get the block hash for a specific block.

Updated on
Jul 18, 2025

chain_getBlockHash RPC Method

Parameters

blockNumber
integer
The block number. If not provided, returns the latest block hash

Returns

result
string
The block hash associated with the block number
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free