Function withdrawWithheldTokensFromAccounts

  • Withdraw withheld tokens from accounts

    Parameters

    • connection: Connection

      Connection to use

    • payer: Signer

      Payer of the transaction fees

    • mint: PublicKey

      The token mint

    • destination: PublicKey

      The destination account

    • authority: PublicKey | Signer

      The mint's withdraw withheld tokens authority

    • multiSigners: Signer[]

      Signing accounts if owner is a multisig

    • sources: PublicKey[]

      Source accounts from which to withdraw withheld fees

    • 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