For the complete documentation index, see llms.txt. This page is also available as Markdown.

minimumLedgerSlot

Returns the lowest slot that the node has information of in its ledger.

This method will use 30 Compute Units.


Parameters

None.

Returns

u64 The lowest slot that the node has information of. This number may increase over time if the node is purging older ledger data.

// Result
{ "jsonrpc": "2.0", "result": 1234, "id": 1 }
curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"method":"minimumLedgerSlot","params":[],"id":1,"jsonrpc":"2.0"}'
curl https://devnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"method":"minimumLedgerSlot","params":[],"id":1,"jsonrpc":"2.0"}'

Last updated

Was this helpful?