GetSlotApi: {
    getSlot(
        config?: Readonly<{ commitment?: Commitment; minContextSlot?: Slot }>,
    ): bigint;
}

Type declaration

  • getSlot:function
    • Returns the slot that has reached the given or default commitment level

      Parameters

      Returns bigint