Skip to main content

getSnapshotSlot RPC Method

Returns the highest slot that the node has a snapshot for.

Updated on
Dec 7, 2023

getSnapshotSlot RPC Method

This method is deprecated and will not be supported in future versions. For a similar method, you can use solana's getHighestSnapshotSlot RPC method.

Parameters

This method does not accept any parameters

Returns

result
The highest slot number for which a snapshot is available
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":"getSnapshotSlot"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free