Skip to main content

getFirstAvailableBlock

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

Parameters

None

Returns

result: (integer) - The slot of the lowest confirmed block as a 64-bit unsigned integer.

Request

curl https://solana-mainnet.infura.io/v3/<YOUR-API-KEY> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1, "method":"getFirstAvailableBlock"}'

Response

{
"jsonrpc":"2.0",
"result":116113408,
"id":1
}