Parameters
- u64string
Fetchs the leader schedule for the epoch that corresponds to the provided slot. If unspecified, the leader schedule for the current epoch is fetched
- objectobject
The configuration object with the following fields:
- commitmentstring
The level of commitment required for the query. The options include:
- finalizedstring
The node will query the most recent block the cluster has recognized as finalized
- confirmedstring
The node will query the most recent block that has been voted on by the supermajority of the cluster
- processedstring
The node will query its most recent block. Note that the block may not be complete
- identitystring
Only returns the results for this validator identity encoded as base-58
Returns
- result
Null if the requested epoch is not found otherwise the result field will be a dictionary of validator identities, as base-58 encoded strings, and their corresponding leader slot indices as values (indices are relative to the first slot in the requested epoch)
1{2"jsonrpc": "2.0",3"result": {4"4Qkev8aNZcqFNSRhQzwyLMFSsi94jHqE8WNVTJzTP99F": [50,61,72,83,94,105,116,127,138,149,1510,1611,1712,1813,1914,2015,2116,2217,2318,2419,2520,2621,2722,2823,2924,3025,3126,3227,3328,3429,3530,3631,3732,3833,3934,4035,4136,4237,4338,4439,4540,4641,4742,4843,4944,5045,5146,5247,5348,5449,5550,5651,5752,5853,5954,6055,6156,6257,6358,6459,6560,6661,6762,686369]70},71"id": 172}
1{2"jsonrpc": "2.0",3"result": {4"4Qkev8aNZcqFNSRhQzwyLMFSsi94jHqE8WNVTJzTP99F": [50,61,72,83,94,105,116,127,138,149,1510,1611,1712,1813,1914,2015,2116,2217,2318,2419,2520,2621,2722,2823,2924,3025,3126,3227,3328,3429,3530,3631,3732,3833,3934,4035,4136,4237,4338,4439,4540,4641,4742,4843,4944,5045,5146,5247,5348,5449,5550,5651,5752,5853,5954,6055,6156,6257,6358,6459,6560,6661,6762,686369]70},71"id": 172}