gill
gill/programs/token/Type aliases

ParsedWithdrawWithheldTokensFromAccountsInstruction

type ParsedWithdrawWithheldTokensFromAccountsInstruction<TProgram, TAccountMetas> = {
  accounts: {
     feeReceiver: TAccountMetas[1];
     mint: TAccountMetas[0];
     withdrawWithheldAuthority: TAccountMetas[2];
  };
  data: WithdrawWithheldTokensFromAccountsInstructionData;
  programAddress: Address<TProgram>;
};

Type Parameters

Type ParameterDefault type
TProgram extends stringtypeof TOKEN_2022_PROGRAM_ADDRESS
TAccountMetas extends readonly IAccountMeta[]readonly IAccountMeta[]

Properties

accounts

accounts: {
  feeReceiver: TAccountMetas[1];
  mint: TAccountMetas[0];
  withdrawWithheldAuthority: TAccountMetas[2];
};
NameTypeDescription
feeReceiverTAccountMetas[1]The fee receiver account. Must include the TransferFeeAmount extension associated with the provided mint.
mintTAccountMetas[0]The token mint. Must include the TransferFeeConfig extension.
withdrawWithheldAuthorityTAccountMetas[2]The mint's withdraw_withheld_authority or its multisignature account.

data

data: WithdrawWithheldTokensFromAccountsInstructionData;

programAddress

programAddress: Address<TProgram>;

On this page