getHighestSnapshotSlot
Returns information for 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.
Parameters
None
Returns
result
- An object with the following fields:
full
: - The highest full snapshot slot encoded as au64
integer.incremental
: The highest incremental snapshot slot derived from the full snapshot.
Request
- curl
curl https://solana-mainnet.infura.io/v3/<YOUR-API-KEY> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1, "method":"getHighestSnapshotSlot"}'
Response
- JSON
{
"jsonrpc":"2.0",
"result": {
"full":372722782,
"incremental":372732282
},
"id":1
}