@circle-fin/usdckit - v0.22.0
    Preparing search index...

    Function getSlot

    • Gets the current slot number from the Solana network.

      Parameters

      • client: ExtendedViemClient

        Extended Viem client

      • ...params: [config?: Readonly<{ commitment?: Commitment; minContextSlot?: bigint }>]

        Parameters for sol_getSlot

      Returns Promise<bigint>

      Promise resolving to the current slot number