Skip to main content

getHighestSnapshotSlot RPC Method

Returns the highest slot that the node has a snapshot 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.

Updated on
Dec 7, 2023

getHighestSnapshotSlot RPC Method

Please note that this method is only available in solana-core v1.9 or newer. Please use getSnapshotSlot for solana-core v1.8

Parameters

This method does not accept any parameters

Returns

result
The result will be an object with the following fields:
full
The highest fullsnapshot slot encoded as 64-bit unsigned integer
incremental
The greatest incremental snapshot slot derived from the full snapshot
Request
1
curl https://docs-demo.solana-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","id":1, "method":"getHighestSnapshotSlot"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free