ParsedWithdrawWithheldTokensFromMintInstruction
type ParsedWithdrawWithheldTokensFromMintInstruction<TProgram, TAccountMetas> = {
accounts: {
feeReceiver: TAccountMetas[1];
mint: TAccountMetas[0];
withdrawWithheldAuthority: TAccountMetas[2];
};
data: WithdrawWithheldTokensFromMintInstructionData;
programAddress: Address<TProgram>;
};Type Parameters
| Type Parameter | Default type |
|---|---|
TProgram extends string | typeof TOKEN_2022_PROGRAM_ADDRESS |
TAccountMetas extends readonly AccountMeta[] | readonly AccountMeta[] |
Properties
accounts
accounts: {
feeReceiver: TAccountMetas[1];
mint: TAccountMetas[0];
withdrawWithheldAuthority: TAccountMetas[2];
};| Name | Type | Description |
|---|---|---|
feeReceiver | TAccountMetas[1] | The fee receiver account. Must include the TransferFeeAmount extension associated with the provided mint. |
mint | TAccountMetas[0] | The token mint. Must include the TransferFeeConfig extension. |
withdrawWithheldAuthority | TAccountMetas[2] | The mint's withdraw_withheld_authority or its multisignature account. |
data
data: WithdrawWithheldTokensFromMintInstructionData;programAddress
programAddress: Address<TProgram>;