gill
gill/programs/token/Type aliases

ParsedConfidentialTransferInstruction

type ParsedConfidentialTransferInstruction<TProgram, TAccountMetas> = {
  accounts: {
     authority: TAccountMetas[7];
     ciphertextValidityRecord?: TAccountMetas[5];
     destinationToken: TAccountMetas[2];
     equalityRecord?: TAccountMetas[4];
     instructionsSysvar?: TAccountMetas[3];
     mint: TAccountMetas[1];
     rangeRecord?: TAccountMetas[6];
     sourceToken: TAccountMetas[0];
  };
  data: ConfidentialTransferInstructionData;
  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[7];
  ciphertextValidityRecord?: TAccountMetas[5];
  destinationToken: TAccountMetas[2];
  equalityRecord?: TAccountMetas[4];
  instructionsSysvar?: TAccountMetas[3];
  mint: TAccountMetas[1];
  rangeRecord?: TAccountMetas[6];
  sourceToken: TAccountMetas[0];
};
NameTypeDescription
authorityTAccountMetas[7]The source account's owner/delegate or its multisignature account.
ciphertextValidityRecord?TAccountMetas[5](Optional) Ciphertext validity proof record account or context state account.
destinationTokenTAccountMetas[2]The destination SPL Token account.
equalityRecord?TAccountMetas[4](Optional) Equality proof record account or context state account.
instructionsSysvar?TAccountMetas[3](Optional) Instructions sysvar if at least one of the zk_elgamal_proof instructions are included in the same transaction.
mintTAccountMetas[1]The corresponding SPL Token mint.
rangeRecord?TAccountMetas[6](Optional) Range proof record account or context state account.
sourceTokenTAccountMetas[0]The source SPL Token account.

data

data: ConfidentialTransferInstructionData;

programAddress

programAddress: Address<TProgram>;

On this page