getHighestSnapshotSlot
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.
This method will use 30 Compute Units.
Parameters
None.
Returns
result The result will be an object with the following fields:
fullThe highest fullsnapshot slot encoded as 64-bit unsigned integer.incrementalThe greatest incremental snapshot slot derived from the full snapshot.
// Result
{
"jsonrpc": "2.0",
"result": {
"full": 320125092,
"incremental": 320143327
},
"id": 1
}curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1, "method":"getHighestSnapshotSlot"}'
curl https://devnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1, "method":"getHighestSnapshotSlot"}'
Last updated
Was this helpful?