gill

getWithdrawWithheldTokensFromMintInstruction

function getWithdrawWithheldTokensFromMintInstruction<TAccountMint, TAccountFeeReceiver, TAccountWithdrawWithheldAuthority, TProgramAddress>(input, config?): WithdrawWithheldTokensFromMintInstruction<TProgramAddress, TAccountMint, TAccountFeeReceiver, 
  | Address<TAccountWithdrawWithheldAuthority>
  | TransactionSigner<TAccountWithdrawWithheldAuthority> extends TransactionSigner<TAccountWithdrawWithheldAuthority> ? IAccountMeta<TAccountWithdrawWithheldAuthority> & {
  role: READONLY_SIGNER;
} & IAccountSignerMeta<TAccountWithdrawWithheldAuthority, TransactionSigner<TAccountWithdrawWithheldAuthority>> : TAccountWithdrawWithheldAuthority>;

Type Parameters

Type ParameterDefault type
TAccountMint extends string-
TAccountFeeReceiver extends string-
TAccountWithdrawWithheldAuthority extends string-
TProgramAddress extends AddressAddress<"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb">

Parameters

ParameterType
inputWithdrawWithheldTokensFromMintInput<TAccountMint, TAccountFeeReceiver, TAccountWithdrawWithheldAuthority>
config?{ programAddress?: TProgramAddress; }
config.programAddress?TProgramAddress

Returns

WithdrawWithheldTokensFromMintInstruction<TProgramAddress, TAccountMint, TAccountFeeReceiver, | Address<TAccountWithdrawWithheldAuthority> | TransactionSigner<TAccountWithdrawWithheldAuthority> extends TransactionSigner<TAccountWithdrawWithheldAuthority> ? IAccountMeta<TAccountWithdrawWithheldAuthority> & { role: READONLY_SIGNER; } & IAccountSignerMeta<TAccountWithdrawWithheldAuthority, TransactionSigner<TAccountWithdrawWithheldAuthority>> : TAccountWithdrawWithheldAuthority>

On this page