POST
/
9de47db917d4f69168e3fed02217d15b
curl --request POST \
  --url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "getHighestSnapshotSlot",
  "params": []
}'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": 123
}

Solana getHighestSnapshotSlot method

The Solana getHighestSnapshotSlot method returns the highest slot that the node has a snapshot for.

This method provides the highest slot that the node has stored a snapshot for. It is useful for determining the most recent point that the node can be bootstrapped from.

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

This method does not require any parameters.

Response

  • value — the highest slot that the node has a snapshot for.

Use case

A practical use case for getHighestSnapshotSlot is to determine the most recent point that the node can be bootstrapped from. This can be useful for network monitoring tools or other applications that need to display or make use of this information.

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:getHighestSnapshotSlot
params
any[]

Response

200 - application/json
Highest snapshot slot details
jsonrpc
string
id
integer
result
integer