Parameters
Unique identifier for a blockchain network.
Request identifier used to match responses.
JSON-RPC version.
JSON-RPC method name.
Returns
Highest snapshot slot information including full and incremental snapshot slots.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=solana-devnet \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getHighestSnapshotSlot",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"full": 100,
"incremental": 110
}
}
Returns the highest slot information that the node has snapshots 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.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=solana-devnet \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getHighestSnapshotSlot",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"full": 100,
"incremental": 110
}
}
Was this page helpful?