gill
gill/programs/token/Type aliases

ParsedWithdrawWithheldTokensFromMintForConfidentialTransferFeeInstruction

type ParsedWithdrawWithheldTokensFromMintForConfidentialTransferFeeInstruction<TProgram, TAccountMetas> = {
  accounts: {
     authority: TAccountMetas[4];
     destination: TAccountMetas[1];
     instructionsSysvarOrContextState: TAccountMetas[2];
     mint: TAccountMetas[0];
     record?: TAccountMetas[3];
  };
  data: WithdrawWithheldTokensFromMintForConfidentialTransferFeeInstructionData;
  programAddress: Address<TProgram>;
};

Type Parameters

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

Properties

accounts

accounts: {
  authority: TAccountMetas[4];
  destination: TAccountMetas[1];
  instructionsSysvarOrContextState: TAccountMetas[2];
  mint: TAccountMetas[0];
  record?: TAccountMetas[3];
};
NameTypeDescription
authorityTAccountMetas[4]The mint's withdraw_withheld_authority
destinationTAccountMetas[1]The fee receiver account.
instructionsSysvarOrContextStateTAccountMetas[2]Instructions sysvar or context state account
mintTAccountMetas[0]The token mint.
record?TAccountMetas[3]Optional record account if proof is read from record

data

data: WithdrawWithheldTokensFromMintForConfidentialTransferFeeInstructionData;

programAddress

programAddress: Address<TProgram>;

On this page