Skip to main content

getLeaderSchedule RPC Method

Returns the leader schedule for an epoch.

Updated on
Oct 19, 2026

Parameters

u64
string

Fetchs the leader schedule for the epoch that corresponds to the provided slot. If unspecified, the leader schedule for the current epoch is fetched

object
object

The configuration object with the following fields:

commitment
string

The level of commitment required for the query. The options include:

finalized
string

The node will query the most recent block the cluster has recognized as finalized

confirmed
string

The node will query the most recent block that has been voted on by the supermajority of the cluster

processed
string

The node will query its most recent block. Note that the block may not be complete

identity
string

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)

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"4Qkev8aNZcqFNSRhQzwyLMFSsi94jHqE8WNVTJzTP99F": [
5
0,
6
1,
7
2,
8
3,
9
4,
10
5,
11
6,
12
7,
13
8,
14
9,
15
10,
16
11,
17
12,
18
13,
19
14,
20
15,
21
16,
22
17,
23
18,
24
19,
25
20,
26
21,
27
22,
28
23,
29
24,
30
25,
31
26,
32
27,
33
28,
34
29,
35
30,
36
31,
37
32,
38
33,
39
34,
40
35,
41
36,
42
37,
43
38,
44
39,
45
40,
46
41,
47
42,
48
43,
49
44,
50
45,
51
46,
52
47,
53
48,
54
49,
55
50,
56
51,
57
52,
58
53,
59
54,
60
55,
61
56,
62
57,
63
58,
64
59,
65
60,
66
61,
67
62,
68
63
69
]
70
},
71
"id": 1
72
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"4Qkev8aNZcqFNSRhQzwyLMFSsi94jHqE8WNVTJzTP99F": [
5
0,
6
1,
7
2,
8
3,
9
4,
10
5,
11
6,
12
7,
13
8,
14
9,
15
10,
16
11,
17
12,
18
13,
19
14,
20
15,
21
16,
22
17,
23
18,
24
19,
25
20,
26
21,
27
22,
28
23,
29
24,
30
25,
31
26,
32
27,
33
28,
34
29,
35
30,
36
31,
37
32,
38
33,
39
34,
40
35,
41
36,
42
37,
43
38,
44
39,
45
40,
46
41,
47
42,
48
43,
49
44,
50
45,
51
46,
52
47,
53
48,
54
49,
55
50,
56
51,
57
52,
58
53,
59
54,
60
55,
61
56,
62
57,
63
58,
64
59,
65
60,
66
61,
67
62,
68
63
69
]
70
},
71
"id": 1
72
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free