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 switchCluster

    • Switches the active cluster endpoint for Solana operations

      Parameters

      • client: ExtendedViemClient

        Extended Viem client

      • clusterName: "devnet" | "mainnet-beta"

        Cluster name to switch to

      Returns Promise<Rpc<SolanaRpcApiForAllClusters>>

      Promise resolving to the new RPC client