Skip to main content

Parameters

number
required
Block number, identified by Slot

Response

object

Code Examples

Basic Request

Using web3.js

Using Python

Notes

  1. Returns commitment information for a specific block
  2. The commitment array indicates stake weight distribution
  3. The totalStake value represents the total active stake in the current epoch
  4. The response is immediate as it reads from the current state

Best Practices

  1. Use this method to verify block confirmation status
  2. Compare commitment values to understand consensus levels
  3. Handle network errors and retry when appropriate