POSTgetFirstAvailableBlock

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

Request Body
jsonrpcstringrequired
idintegerrequired
methodstringrequired
Responses
idinteger

The request ID

jsonrpcstring

The JSON-RPC version

resultinteger

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

X-API-KEY
RequestCU10
cURL
curl -X POST "https://solana-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getFirstAvailableBlock"
}'
Response
Example · 200
{
  "jsonrpc": "2.0",
  "result": 250000,
  "id": 1
}