Function createFreezeAccountInstruction

  • Construct a FreezeAccount instruction

    Parameters

    • account: PublicKey

      Account to freeze

    • mint: PublicKey

      Mint account

    • authority: PublicKey

      Mint freeze authority

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

      Signing accounts if authority is a multisig

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc