Skip to main content

getSnapshotSlot RPC Method

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

Updated on
Aug 21, 2024

getSnapshotSlot RPC Method

Please note that this method is deprecated, no longer available on Devnet and Testnet, and will be removed from Mainnet soon. 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