• Fetch the slot leaders for a given slot range.

    Parameters

    • t: HttpTransport

      HTTP transport instance

    • startSlot: Slot

      Start slot (inclusive)

    • limit: number

      Number of leaders to return (between 1 and 5000)

    • opts: CallOptions = {}

      Additional call options

    Returns Promise<Pubkey[]>

    Array of base-58 encoded validator identity public keys

    const leaders = await getSlotLeaders(transport, 100, 10);
    

    1.0.0