Parameters
This method does not take any parameters.Response
object
Code Examples
Basic Request
Using web3.js
Notes
- Returns information about the highest snapshot slots
- Full snapshots contain the complete ledger state
- Incremental snapshots contain changes since the last full snapshot
- Incremental snapshots may not be available on all nodes
- The response is immediate as it reads from the current state
Best Practices
- Use this method to determine snapshot availability
- Consider snapshot age when planning operations
- Cache results when appropriate to reduce RPC load
- Handle cases where incremental snapshots are not available
- Use in conjunction with other snapshot methods
Common Errors
Use Cases
-
Snapshot Analysis
-
Snapshot Monitoring
-
Snapshot Verification