gill
gill/programs/token/Type aliases

WithdrawWithheldTokensFromMintInstruction

type WithdrawWithheldTokensFromMintInstruction<TProgram, TAccountMint, TAccountFeeReceiver, TAccountWithdrawWithheldAuthority, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountMint extends string ? WritableAccount<TAccountMint> : TAccountMint, TAccountFeeReceiver extends string ? WritableAccount<TAccountFeeReceiver> : TAccountFeeReceiver, TAccountWithdrawWithheldAuthority extends string ? ReadonlyAccount<TAccountWithdrawWithheldAuthority> : TAccountWithdrawWithheldAuthority, ...TRemainingAccounts]>;

Type Parameters

Type ParameterDefault type
TProgram extends stringtypeof TOKEN_2022_PROGRAM_ADDRESS
TAccountMint extends string | AccountMeta<string>string
TAccountFeeReceiver extends string | AccountMeta<string>string
TAccountWithdrawWithheldAuthority extends string | AccountMeta<string>string
TRemainingAccounts extends readonly AccountMeta<string>[][]

On this page