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
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
- JSON
{
"jsonrpc":"2.0",
"result":116113408,
"id":1
}