• Fetch the highest slot information that the node has snapshots for.

    Parameters

    Returns Promise<{
        full: Slot;
        incremental?: Slot;
    }>

    Object containing the highest full snapshot slot and optionally the highest incremental snapshot slot

    const { full, incremental } = await getHighestSnapshotSlot(transport);
    console.log(`Full snapshot slot: ${full}`);

    1.0.0