Source
get_slot_leadersParameters
start slot
First slot in the requested range. Use a recent slot, such as the result of
getSlot: a node keeps leader schedules
for only ten epochs (the next epoch, the current epoch, and the eight before
it), so a start slot outside that range returns Invalid slot range: leader schedule for epoch <epoch> is unavailable (-32602). The cURL example’s fixed
slot goes out of range once the cluster is nine epochs past it (two to three
weeks); this command reads the current slot first:Example
limit
Number of consecutive slots to return. Allowed range:
1 to 5,000.Result
result
Array of validator identity Pubkeys, as base-58 encoded strings, in slot order.