minimumLedgerSlot

minimumLedgerSlot RPC Method

post

Returns the lowest slot that the node has information about in its ledger. This method is useful for understanding the historical data availability of a Solana node. The value may increase over time if the node is configured to purge older ledger data to manage storage requirements. This is particularly important for applications that need to query historical data, as attempting to access slots below this minimum will result in data not being available. The method provides a simple way to determine the earliest point in time for which the node can provide blockchain state information.

Authorizations
Body
jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier that will be returned in the response

Example: 1
stringOptional
or
numberOptional
methodstring · enumRequired

The RPC method name

Example: minimumLedgerSlotPossible values:
paramsarrayOptional

This method takes no parameters. The params array should be empty or omitted entirely.

Responses
200
Successful Response
application/json
post
curl -X POST https://public.rpc.solanavibestation.com \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "minimumLedgerSlot"
  }'
{
  "jsonrpc": "2.0",
  "result": 123456789,
  "id": 1
}

Last updated