Skip to main content

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

  1. Returns the lowest slot in the node’s ledger
  2. The response is immediate as it reads from the current state
  3. The minimum slot can change as the ledger is pruned
  4. Slots below this value are not accessible
  5. The value may vary between nodes based on their configuration

Best Practices

  1. Use this method to determine ledger boundaries
  2. Cache results when appropriate to reduce RPC load
  3. Monitor for changes in minimum slot
  4. Consider using websocket subscription for real-time updates
  5. Handle network errors and retry when appropriate

Common Errors

Use Cases

  1. Ledger Analysis
  2. Ledger Monitoring
  3. Ledger Planning