GetEpochScheduleApi: {
    getEpochSchedule(
        NO_CONFIG?: Record<string, never>,
    ): Readonly<
        {
            firstNormalEpoch: bigint;
            firstNormalSlot: bigint;
            leaderScheduleSlotOffset: bigint;
            slotsPerEpoch: bigint;
            warmup: boolean;
        },
    >;
}

Type declaration

  • getEpochSchedule:function
    • Returns the epoch schedule information from this cluster's genesis config Note that the optional NO_CONFIG object is ignored. See https://github.com/solana-labs/solana-web3.js/issues/1389

      Parameters

      • OptionalNO_CONFIG: Record<string, never>

      Returns Readonly<
          {
              firstNormalEpoch: bigint;
              firstNormalSlot: bigint;
              leaderScheduleSlotOffset: bigint;
              slotsPerEpoch: bigint;
              warmup: boolean;
          },
      >