Skip to main content

getBlockHeight gRPC Method - Solana gRPC

Retrieves the current block height of the Solana blockchain.

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

Parameters

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

blockHeight
string

The latest block height

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