FiyatlandırmaGitHubKontrol paneli

Solana

getLeaderSchedule25 kredi

Returns the leader schedule for an epoch

Ağ: solana

Parametreler

AdTürAçıklama
slotu64 | nullSlot that selects the epoch; null or omitted uses the current epoch. (isteğe bağlı)
configObjectcommitment (processed | confirmed | finalized, default finalized); identity: return only this validator identity (base-58). (isteğe bağlı)

Dönüş değeri

Tür

Object | null

Map of validator identity (base-58) to the leader slot indices relative to the first slot of the epoch, or null if the epoch is unavailable.

Kod örnekleri

curl https://holy-burned-sky-solana-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getLeaderSchedule",
  "params": [
    null,
    {
      "commitment": "finalized"
    }
  ]
}'