Solana Tracker
Solana RPC/Methods

getFirstAvailableBlock RPC Method

Description

Returns the slot of the lowest confirmed block that has not been purged from the ledger.

Parameters

This method takes no parameters.

Returns

  • result - An integer representing the slot of the lowest confirmed block, encoded as a u64 (64-bit unsigned integer).

Code Examples

curl "https://rpc-mainnet.solanatracker.io/?api_key=YOUR_API_KEY_HERE" \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1, "method":"getFirstAvailableBlock"}'

On this page