minimumLedgerSlot
The minimumLedgerSlot method returns the lowest slot number that the node has information about in its ledger. This represents the oldest data point available on the node, indicating the historical depth of queryable blockchain data.
Solana nodes don't retain the complete blockchain history indefinitely due to storage constraints. Each node maintains a window of recent ledger data and periodically purges older data. The minimum ledger slot indicates the oldest slot for which the node can still provide ledger data, defining the lower boundary of the node's historical data availability. This differs from the first available block, as the minimum ledger slot represents the raw ledger boundary.
This method is valuable for applications that need to understand the node's historical data capabilities, avoid queries that will fail due to data unavailability, and determine appropriate node selection for historical analysis. It helps developers understand whether a particular node is suitable for their data needs, especially for analytics, archival, or compliance applications.
Parameters
parameter | type | description |
|---|---|---|
config | object | Optional configuration object (currently no config options are available) |
Return Object
field | type | description |
|---|---|---|
result | number | The minimum ledger slot number (u64) available on the node |
Request Example
Response Example
Tip: This value is typically lower than the first available block slot, as it represents the raw ledger boundary. Archive nodes will have much lower minimum ledger slots than standard RPC nodes. Use this to determine if the node can service your historical data needs before making expensive queries.