Function freezeAccount

  • Freeze a token account

    Parameters

    • connection: Connection

      Connection to use

    • payer: Signer

      Payer of the transaction fees

    • account: PublicKey

      Account to freeze

    • mint: PublicKey

      Mint for the account

    • authority: PublicKey | Signer

      Mint freeze authority

    • multiSigners: Signer[] = []

      Signing accounts if authority is a multisig

    • Optional confirmOptions: ConfirmOptions

      Options for confirming the transaction

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    Returns Promise<TransactionSignature>

    Signature of the confirmed transaction

Generated using TypeDoc