getBlockHeight | Solana

Solana getBlockHeight method

The Solana getBlockHeight method returns the current height of the highest fully-processed block in the ledger.

This method provides the latest block height that has been processed by the node. It is useful for tracking the progress of the blockchain and for determining the most recent transactions.

👍

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

This method does not require any parameters.

Response

  • value — the current height of the highest fully-processed block.

Use case

A practical use case for getBlockHeight is to track the progress of the blockchain. This can be useful for applications that need to display or make use of this information, such as block explorers or wallets.

Try the getBlockHeight RPC method yourself

Language
Click Try It! to start a request and see the response here!