Function createWithdrawWithheldTokensFromAccountsInstruction

  • Construct a WithdrawWithheldTokensFromAccounts instruction

    Parameters

    • mint: PublicKey

      The token mint

    • destination: PublicKey

      The destination account

    • authority: PublicKey

      The source account's owner/delegate

    • signers: (PublicKey | Signer)[]

      The signer account(s)

    • sources: PublicKey[]

      The source accounts to withdraw from

    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc