Skip to main content

Parameters

number
Fetch the leader schedule for the epoch containing this slot
object

Response

object

Code Examples

Basic Request

Request for Specific Validator

Using web3.js

Notes

  1. Returns the leader schedule for the current or specified epoch
  2. Can filter to show only a specific validator’s slots
  3. Leader slots are assigned to validators based on stake weight
  4. The schedule is fixed for the duration of an epoch
  5. Response includes the slot at which the request was processed

Best Practices

  1. Use appropriate commitment level based on your needs
  2. Filter by validator identity when only interested in specific validators
  3. Cache results when appropriate to reduce RPC load
  4. Monitor for changes in leader schedule
  5. Use in conjunction with other validator-related methods

Common Errors

Use Cases

  1. Validator Analysis
  2. Leader Schedule Monitoring
  3. Epoch Planning