getEpochSchedule RPC-metodi
Palauttaa epoch-aikataulutiedot tästä klusterista
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getEpochSchedule"> }> '
params
Noneresult
Response
{"jsonrpc": "2.0","result": {"firstNormalEpoch": 8,"firstNormalSlot": 8160,"leaderScheduleSlotOffset": 8192,"slotsPerEpoch": 8192,"warmup": true},"id": 1}
object
Tuloskentässä on objekti, jossa on seuraavat kentät:
Is this page helpful?