跳转到主要内容
POST
getSlotLeaders

授权

api_key
string
query
必填

请求体

application/json
jsonrpc
enum<string>
默认值:2.0
必填

The JSON-RPC protocol version.

可用选项:
2.0
示例:

"2.0"

id
string
默认值:1
必填

A unique identifier for the request.

示例:

"1"

method
enum<string>
默认值:getSlotLeaders
必填

The name of the RPC method to invoke.

可用选项:
getSlotLeaders
示例:

"getSlotLeaders"

params
integer[]
必填

Parameters for specifying the start slot and limit.

Starting Solana slot number to begin retrieving the validator schedule from.

示例:

100

响应

200 - application/json

Successfully retrieved slot leaders.

jsonrpc
enum<string>

The JSON-RPC protocol version.

可用选项:
2.0
示例:

"2.0"

id
string

Identifier matching the request.

示例:

"1"

result
string[]

Ordered sequence of Solana validator identities scheduled for upcoming block production.

Solana validator identity (public key) scheduled as block producer for a specific slot.