gill
gill/programs/token/Type aliases

ParsedEmptyConfidentialTransferAccountInstruction

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

data

data: EmptyConfidentialTransferAccountInstructionData;

programAddress

programAddress: Address<TProgram>;

On this page