Type Alias GetEpochScheduleApi
GetEpochScheduleApi: { getEpochSchedule( NO_CONFIG?: Record<string, never>, ): Readonly< { firstNormalEpoch: bigint; firstNormalSlot: bigint; leaderScheduleSlotOffset: bigint; slotsPerEpoch: bigint; warmup: boolean; }, >;} Type declaration
getEpochSchedule:function
- getEpochSchedule(
NO_CONFIG?: Record<string, never>,
): Readonly<
{
firstNormalEpoch: bigint;
firstNormalSlot: bigint;
leaderScheduleSlotOffset: bigint;
slotsPerEpoch: bigint;
warmup: boolean;
},
> Parameters
OptionalNO_CONFIG: Record<string, never>
Returns Readonly<
{
firstNormalEpoch: bigint;
firstNormalSlot: bigint;
leaderScheduleSlotOffset: bigint;
slotsPerEpoch: bigint;
warmup: boolean;
},
>
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