• Fetch the epoch schedule parameters for the cluster.

    Parameters

    Returns Promise<EpochSchedule>

    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}`);

    1.0.0