Parameters
This method does not accept any parameters.Response
number
The lowest slot that the node has information about in its ledger
Code Examples
Basic Request
Using web3.js
Notes
- Returns the lowest slot in the node’s ledger
- The response is immediate as it reads from the current state
- The minimum slot can change as the ledger is pruned
- Slots below this value are not accessible
- The value may vary between nodes based on their configuration
Best Practices
- Use this method to determine ledger boundaries
- Cache results when appropriate to reduce RPC load
- Monitor for changes in minimum slot
- Consider using websocket subscription for real-time updates
- Handle network errors and retry when appropriate
Common Errors
Use Cases
-
Ledger Analysis
-
Ledger Monitoring
-
Ledger Planning