gill
gill/programs/token/Type aliases

WithdrawWithheldTokensFromMintInstruction

type WithdrawWithheldTokensFromMintInstruction<TProgram, TAccountMint, TAccountFeeReceiver, TAccountWithdrawWithheldAuthority, TRemainingAccounts> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[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 | IAccountMeta<string>string
TAccountFeeReceiver extends string | IAccountMeta<string>string
TAccountWithdrawWithheldAuthority extends string | IAccountMeta<string>string
TRemainingAccounts extends readonly IAccountMeta<string>[][]

On this page