Function createDisableCpiGuardInstruction

  • Construct a DisableCpiGuard instruction

    Parameters

    • account: PublicKey

      Token account to update

    • authority: PublicKey

      The account's owner/delegate

    • multiSigners: (PublicKey | Signer)[] = []
    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc