Skip to main content

Parameters

This method does not require any parameters.

Response

object

Code Examples

Basic Request

Using web3.js

Using Python

Notes

  1. Returns epoch schedule information from the cluster’s genesis configuration
  2. The returned data is static and does not change for a given network/cluster
  3. Useful for calculating epoch boundaries and leader schedule timing
  4. The warmup parameter indicates if epochs start short and grow to their full size

Best Practices

  1. Cache this information locally as it does not change
  2. Use the returned values to calculate epoch transitions
  3. Use firstNormalEpoch and firstNormalSlot for epoch timing calculations
  4. Handle network errors and retry when appropriate