gill
gill/programs/token/Type aliases

ParsedConfigureConfidentialTransferAccountInstruction

type ParsedConfigureConfidentialTransferAccountInstruction<TProgram, TAccountMetas> = {
  accounts: {
     authority: TAccountMetas[4];
     instructionsSysvarOrContextState: TAccountMetas[2];
     mint: TAccountMetas[1];
     record?: TAccountMetas[3];
     token: TAccountMetas[0];
  };
  data: ConfigureConfidentialTransferAccountInstructionData;
  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];
  instructionsSysvarOrContextState: TAccountMetas[2];
  mint: TAccountMetas[1];
  record?: TAccountMetas[3];
  token: TAccountMetas[0];
};
NameTypeDescription
authorityTAccountMetas[4]The source account's owner/delegate or its multisignature account.
instructionsSysvarOrContextStateTAccountMetas[2]Instructions sysvar if VerifyPubkeyValidity is included in the same transaction or context state account if VerifyPubkeyValidity is pre-verified into a context state account.
mintTAccountMetas[1]The corresponding SPL Token mint.
record?TAccountMetas[3](Optional) Record account if the accompanying proof is to be read from a record account.
tokenTAccountMetas[0]The SPL Token account.

data

data: ConfigureConfidentialTransferAccountInstructionData;

programAddress

programAddress: Address<TProgram>;

On this page