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

    Parameters

    Returns Promise<Slot>

    The first available block slot

    const slot = await getFirstAvailableBlock(transport);
    console.log(`First available block: ${slot}`);

    1.0.0