WithdrawWithheldTokensFromAccountsInput
type WithdrawWithheldTokensFromAccountsInput<TAccountMint, TAccountFeeReceiver, TAccountWithdrawWithheldAuthority> = {
feeReceiver: Address<TAccountFeeReceiver>;
mint: Address<TAccountMint>;
multiSigners?: TransactionSigner[];
numTokenAccounts: WithdrawWithheldTokensFromAccountsInstructionDataArgs["numTokenAccounts"];
sources: Address[];
withdrawWithheldAuthority: | Address<TAccountWithdrawWithheldAuthority>
| TransactionSigner<TAccountWithdrawWithheldAuthority>;
};Type Parameters
| Type Parameter | Default type |
|---|---|
TAccountMint extends string | string |
TAccountFeeReceiver extends string | string |
TAccountWithdrawWithheldAuthority extends string | string |
Properties
feeReceiver
feeReceiver: Address<TAccountFeeReceiver>;The fee receiver account. Must include the TransferFeeAmount
extension associated with the provided mint.
mint
mint: Address<TAccountMint>;The token mint. Must include the TransferFeeConfig extension.
multiSigners?
optional multiSigners: TransactionSigner[];numTokenAccounts
numTokenAccounts: WithdrawWithheldTokensFromAccountsInstructionDataArgs["numTokenAccounts"];sources
sources: Address[];withdrawWithheldAuthority
withdrawWithheldAuthority:
| Address<TAccountWithdrawWithheldAuthority>
| TransactionSigner<TAccountWithdrawWithheldAuthority>;The mint's withdraw_withheld_authority or its multisignature account.