Fetch the epoch schedule parameters for the cluster.
HTTP transport instance
Additional call options
Epoch schedule containing slots per epoch, leader schedule slot offset, and warmup flag
const schedule = await getEpochSchedule(transport);console.log(`Slots per epoch: ${schedule.slotsPerEpoch}`); Copy
const schedule = await getEpochSchedule(transport);console.log(`Slots per epoch: ${schedule.slotsPerEpoch}`);
1.0.0
Fetch the epoch schedule parameters for the cluster.