minimumLedgerSlot RPC 方法

返回节点在其账本中拥有信息的最低 slot。

如果节点配置为清除较旧的账本数据,该值可能会随着时间增加。

$ curl https://api.devnet.solana.com -s -X \
> POST -H "Content-Type: application/json" -d '
> {
> "jsonrpc": "2.0",
> "id": 1,
> "method": "minimumLedgerSlot"
> }
> '

params

None

result

Response
{
"jsonrpc": "2.0",
"result": 1234,
"id": 1
}
u64

最低账本 slot 编号

Is this page helpful?