0.05 credits per call
getLeaderSchedule on Solana: Returns the leader schedule for an epoch.
Endpoint
Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
slot | u64 | no | Slot whose epoch’s schedule to fetch; defaults to the current epoch. | 372877175 |
config | object | no | {commitment?, identity?}. identity filters to a single validator. | {"identity":"ENvAW7JScgYq6o4zKZwewtkzzJgDzuJAFxYasvmEQdpS"} |
Returns
object | null: Map of leader pubkey → array of slot indices, or null if the epoch has no schedule.
Examples
Errors
Standard JSON-RPC errors:-32600 invalid request, -32601 method not found, -32602 invalid params.