getSlotLeader

getSlotLeader RPC Method

post
/

Returns the current slot leader.

Authorizations
AuthorizationstringOptional

Authorization header for API key authentication.

Example:

Authorization: your-api-key-here
Body
jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier that will be returned in the response

Example: 1
stringOptional
or
numberOptional
methodstring · enumRequired

The RPC method name

Example: getSlotLeaderPossible values:
Responses
chevron-right
200

Successful Response

application/json

RPC response containing current slot leader information

jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier matching the original request

Example: 1
stringOptional
or
numberOptional
resultstringOptional

Node identity public key of the current slot leader as a base-58 encoded string. This is the validator that has the authority to produce the block for the current slot. The slot leader is determined by the leader schedule, which rotates among validators based on their stake weight. Each slot lasts approximately 400 milliseconds.

Example: ENvAW7JScgYq6o4zKZwewtkzzJgDzuJAFxYasvmEQdpSPattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
post
/

Last updated