ParsedConfidentialTransferWithFeeInstruction
type ParsedConfidentialTransferWithFeeInstruction<TProgram, TAccountMetas> = {
accounts: {
authority: TAccountMetas[9];
destinationToken: TAccountMetas[2];
equalityRecord?: TAccountMetas[4];
feeCiphertextValidityRecord?: TAccountMetas[7];
feeSigmaRecord?: TAccountMetas[6];
instructionsSysvar?: TAccountMetas[3];
mint: TAccountMetas[1];
rangeRecord?: TAccountMetas[8];
sourceToken: TAccountMetas[0];
transferAmountCiphertextValidityRecord?: TAccountMetas[5];
};
data: ConfidentialTransferWithFeeInstructionData;
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[9];
destinationToken: TAccountMetas[2];
equalityRecord?: TAccountMetas[4];
feeCiphertextValidityRecord?: TAccountMetas[7];
feeSigmaRecord?: TAccountMetas[6];
instructionsSysvar?: TAccountMetas[3];
mint: TAccountMetas[1];
rangeRecord?: TAccountMetas[8];
sourceToken: TAccountMetas[0];
transferAmountCiphertextValidityRecord?: TAccountMetas[5];
};| Name | Type | Description |
|---|---|---|
authority | TAccountMetas[9] | The source account's owner/delegate or its multisignature account. |
destinationToken | TAccountMetas[2] | The destination SPL Token account. |
equalityRecord? | TAccountMetas[4] | (Optional) Equality proof record account or context state account. |
feeCiphertextValidityRecord? | TAccountMetas[7] | (Optional) Fee ciphertext validity proof record account or context state account. |
feeSigmaRecord? | TAccountMetas[6] | (Optional) Fee sigma 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[8] | (Optional) Range proof record account or context state account. |
sourceToken | TAccountMetas[0] | The source SPL Token account. |
transferAmountCiphertextValidityRecord? | TAccountMetas[5] | (Optional) Transfer amount ciphertext validity proof record account or context state account. |
data
data: ConfidentialTransferWithFeeInstructionData;programAddress
programAddress: Address<TProgram>;