Skip to main content

isBlockhashValid gRPC Method - Solana gRPC

Checks whether a given blockhash is still valid on the Solana blockchain.

Updated on
Sep 03, 2026
Solana gRPC is included with Scale plans and up. Learn more on our pricing page.

Parameters

blockhash
string
REQUIRED

The blockhash you want to validate

commitment
string

The level of commitment required for the query. The options include:

PROCESSED
string

The node will query its most recent block. Note that the block may not be complete

CONFIRMED
string

The node will query the most recent block that has been voted on by the supermajority of the cluster

FINALIZED
string

The node will query the most recent block confirmed by the supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized

Returns

valid
boolean

A boolean value (true or false) indicating whether the blockhash is still valid

slot
string

The slot number associated with the blockhash

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