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

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

Constraints

  • Limited to the highest available snapshot slot
  • Requires up-to-date network connectivity
  • Potential discrepancies if snapshots are delayed
Get started
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"}'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "result": {
    "full": 120000,
    "incremental": 120500
  },
  "id": 1
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200
Contains snapshot slot information

Response 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.