We have upgraded the product to App Kit and recommend using it for all production deployments. USDCKit will remain available as a private beta product. Thank you.
@circle-fin/usdckit - v0.25.4
    Preparing search index...

    Function getBlockHeight

    • Gets the current block height of the node

      Parameters

      • client: ExtendedViemClient

        Extended Viem client

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

        Parameters for sol_getBlockHeight

      Returns Promise<bigint>

      Promise resolving to block height information