getBlockCommitment
Solana node API
getBlockCommitment | Solana
The Solana getBlockCommitment method returns the commitment information for a given block. getBlockCommitment on Solana via Chainstack.
POST
getBlockCommitment
Documentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
Solana getBlockCommitment method
The Solana getBlockCommitment method returns the commitment information for a given block.
This method provides detailed information about the number of cluster nodes that have voted on the block, and the total stake of those nodes. It is useful for determining the level of consensus for a block in the network.
Get your own node endpoint todayStart 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
block— the height of the block to retrieve commitment information for.
Response
value— the block commitment information:commitment— an array of 32 integers representing the commitment for the block.totalStake— the total stake of all nodes that have voted on the block.
Use case
A practical use case forgetBlockCommitment is to determine the level of consensus for a block in the network. This can be useful for block explorers, wallets, or other applications that need to display or make use of this information.Last modified on May 18, 2026