Solana · Arazzo Workflow
Solana Resolve the Current Epoch's Leader Schedule
Version 1.0.0
Read epoch position and schedule, fetch the leader schedule, and identify the current and upcoming leaders.
Provider
Workflows
leader-schedule
Resolve who leads now and who leads next in the current epoch.
Walks from epoch position to the concrete validators producing the current and upcoming slots.
1
epochInfo
getEpochInfo
Read the current epoch, the absolute slot, and the position inside the epoch, which anchors every schedule lookup that follows.
2
epochSchedule
getEpochSchedule
Read the schedule that maps slots onto epochs, including the warmup period and the offset at which a leader schedule is published ahead of its epoch.
3
leaderSchedule
getLeaderSchedule
Fetch the leader schedule for the current epoch, keyed by validator identity with the slot indices each one is assigned.
4
currentLeader
getSlotLeader
Identify the validator leading the current slot, the node a client would forward a transaction to right now.
5
upcomingLeaders
getSlotLeaders
List the leaders for the slots immediately ahead of the current one, which is what lets a client pre-connect to the next producer instead of the current one.