getBlockCommitment
Returns commitment for particular block.
This method will use 30
Compute Units.
Parameters
block number
integer Required. The block number identified by the slot.
Returns
result
object. A custom object with the following fields:commitment
. The commitment values for the block. It could be either:null
. Null if the block is unknown.array
. An array of u64 integers logging the amount of cluster stake in lamports that has voted on the block at each depth from 0 to MAX_LOCKOUT_HISTORY + 1
totalStake
. The total number of lamports being used by validators to participate in the block production and voting process.
Last updated
Was this helpful?