POSTgetHighestSnapshotSlot

Returns the highest slot information that the node has snapshots for.

This will find the highest full snapshot slot, and the highest incremental snapshot slot based on the full snapshot slot, if there is one.

Request Body
jsonrpcstringrequired
idintegerrequired
methodstringrequired
Responses
idinteger

The request ID

jsonrpcstring

The JSON-RPC version

resultoneOf
Snapshotobject
fullinteger (uint64)

The highest full snapshot slot

incrementalinteger (uint64)

The highest incremental snapshot slot based on full

object 2object
codeintegerrequired

A Number that indicates the error type that occurred.

messagestringrequired

A String providing a short description of the error.

X-API-KEY
RequestCU10
cURL
curl -X POST "https://solana-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getHighestSnapshotSlot"
}'
Response
Example · 200
{
  "jsonrpc": "2.0",
  "result": {
    "full": 100,
    "incremental": 110
  },
  "id": 1
}