Fetch the slot of the lowest confirmed block that has not been purged from the ledger.
HTTP transport instance
Additional call options
The first available block slot
const slot = await getFirstAvailableBlock(transport);console.log(`First available block: ${slot}`); Copy
const slot = await getFirstAvailableBlock(transport);console.log(`First available block: ${slot}`);
1.0.0
Fetch the slot of the lowest confirmed block that has not been purged from the ledger.