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 Parameter | Default type |
|---|---|
TProgram extends string | typeof TOKEN_2022_PROGRAM_ADDRESS |
TAccountMetas extends readonly AccountMeta[] | readonly AccountMeta[] |
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];
};| Name | Type | Description |
|---|---|---|
authority | TAccountMetas[7] | The source account's owner/delegate or its multisignature account. |
ciphertextValidityRecord? | TAccountMetas[5] | (Optional) Ciphertext validity proof record account or context state account. |
destinationToken | TAccountMetas[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. |
mint | TAccountMetas[1] | The corresponding SPL Token mint. |
rangeRecord? | TAccountMetas[6] | (Optional) Range proof record account or context state account. |
sourceToken | TAccountMetas[0] | The source SPL Token account. |
data
data: ConfidentialTransferInstructionData;programAddress
programAddress: Address<TProgram>;