Function disableCpiGuard

  • Disable CPI Guard on the given account

    Parameters

    • connection: Connection

      Connection to use

    • payer: Signer

      Payer of the transaction fees

    • account: PublicKey

      Account to modify

    • owner: PublicKey | Signer

      Owner of the account

    • multiSigners: Signer[] = []

      Signing accounts if owner is a multisig

    • Optional confirmOptions: ConfirmOptions

      Options for confirming the transaction

    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

      SPL Token program account

    Returns Promise<TransactionSignature>

    Signature of the confirmed transaction

Generated using TypeDoc