Skip to main content

chain_getBlockHash RPC Method - AssetHub

Get the block hash for a specific block.

Updated on
Jul 25, 2025

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