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

Parameters

None

Returns

<object>
  • full: <u64> - Highest full snapshot slot
  • incremental: <u64 | undefined> - Highest incremental snapshot slot based on full if available

Example

Request

cURL
1
curl --location --request POST 'https://solana-mainnet.g.alchemy.com/v2/demo' \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "getHighestSnapshotSlot"
7
}'
Copied!

Response

1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"full": 135143295,
5
"incremental": null
6
},
7
"id": 1
8
}
Copied!