getHighestSnapshotSlot - Solana
getHighestSnapshotSlot. Returns the highest slot number that has a snapshot
getHighestSnapshotSlot - solana [Value: 9CU]
Returns the highest slot number that has a snapshot
Use cases
- Obtain the highest snapshot slot for data recovery
- Identify the latest snapshot for synchronization
- Use the highest snapshot slot for backup purposes
Constraints
- Limited to the highest available snapshot slot
- Requires up-to-date network connectivity
- Potential discrepancies if snapshots are delayed
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl https://solana.drpc.org \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":1, "method":"getHighestSnapshotSlot"}'
Response
200
{
"jsonrpc": "2.0",
"result": {
"full": 120000,
"incremental": 120500
},
"id": 1
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
Contains snapshot slot informationResponse params
object
idinteger
jsonrpcstring
resultobject
object
fullinteger
The highest full snapshot slot, represented as a 64-bit unsigned integer
incrementalinteger
The highest incremental snapshot slot derived from the full snapshot.