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
AuthorizationstringOptional

Authorization header for API key authentication.

Example:

Authorization: your-api-key-here
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
chevron-right
200

Successful Response

application/json

RPC response containing the minimum ledger slot number

jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier matching the original request

Example: 1
stringOptional
or
numberOptional
resultinteger · int64Optional

The lowest slot number that the node has information about in its ledger. This represents the earliest point in blockchain history for which the node can provide data. Slots below this number have been purged from the node's storage and are no longer accessible. This value may increase over time as nodes periodically clean up old data to manage storage requirements.

Example: 123456789
post
/

Last updated