Skip to main content

chain_getBlockHash RPC Method

Retrieve the block hash for the specified block.

Updated on
Oct 04, 2023

Parameters

BlockNumber
integer

The block number for which you want to obtain the corresponding block hash. If not provided, the request will return the hash for the latest block

Returns

result
string

The block hash of the specified block number

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free