GetBlockCommitmentApi: {
    getBlockCommitment(
        slot: bigint,
    ): Readonly<{ commitment: Lamports[] | null; totalStake: Lamports }>;
}

Type declaration

  • getBlockCommitment:function
    • Returns the amount of cluster stake in lamports that has voted on a particular block, as well as the stake attributed to each vote account

      Parameters

      • slot: bigint

      Returns Readonly<{ commitment: Lamports[] | null; totalStake: Lamports }>