Shred Delivery and Sender are now live! Get earliest access to raw Solana data and optimized transaction sending. Learn about Shred Delivery | Learn about Sender
简体中文
返回此集群的创世配置中的 epoch 调度信息。
cURL
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getEpochSchedule" }'
{ "jsonrpc": "2.0", "id": "1", "result": { "slotsPerEpoch": 8192, "leaderScheduleSlotOffset": 8192, "warmup": true, "firstNormalEpoch": 8, "firstNormalSlot": 8160 } }
您的Helius API密钥。您可以在仪表板中免费获取一个。
JSON-RPC 协议版本。
2.0
"2.0"
请求的唯一标识符。
"1"
要调用的 RPC 方法名称。
getEpochSchedule
"getEpochSchedule"
成功检索到 epoch 计划信息。
与请求匹配的标识符。
定义 Solana 区块链纪元结构的综合时间常数。
Show child attributes
此页面对您有帮助吗?