ConfidentialTransferInput
type ConfidentialTransferInput<TAccountSourceToken, TAccountMint, TAccountDestinationToken, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountCiphertextValidityRecord, TAccountRangeRecord, TAccountAuthority> = {
authority: | Address<TAccountAuthority>
| TransactionSigner<TAccountAuthority>;
ciphertextValidityProofInstructionOffset: ConfidentialTransferInstructionDataArgs["ciphertextValidityProofInstructionOffset"];
ciphertextValidityRecord?: Address<TAccountCiphertextValidityRecord>;
destinationToken: Address<TAccountDestinationToken>;
equalityProofInstructionOffset: ConfidentialTransferInstructionDataArgs["equalityProofInstructionOffset"];
equalityRecord?: Address<TAccountEqualityRecord>;
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
mint: Address<TAccountMint>;
multiSigners?: TransactionSigner[];
newSourceDecryptableAvailableBalance: ConfidentialTransferInstructionDataArgs["newSourceDecryptableAvailableBalance"];
rangeProofInstructionOffset: ConfidentialTransferInstructionDataArgs["rangeProofInstructionOffset"];
rangeRecord?: Address<TAccountRangeRecord>;
sourceToken: Address<TAccountSourceToken>;
};Type Parameters
| Type Parameter | Default type |
|---|---|
TAccountSourceToken extends string | string |
TAccountMint extends string | string |
TAccountDestinationToken extends string | string |
TAccountInstructionsSysvar extends string | string |
TAccountEqualityRecord extends string | string |
TAccountCiphertextValidityRecord extends string | string |
TAccountRangeRecord extends string | string |
TAccountAuthority extends string | string |
Properties
authority
authority:
| Address<TAccountAuthority>
| TransactionSigner<TAccountAuthority>;The source account's owner/delegate or its multisignature account.
ciphertextValidityProofInstructionOffset
ciphertextValidityProofInstructionOffset: ConfidentialTransferInstructionDataArgs["ciphertextValidityProofInstructionOffset"];ciphertextValidityRecord?
optional ciphertextValidityRecord: Address<TAccountCiphertextValidityRecord>;(Optional) Ciphertext validity proof record account or context state account.
destinationToken
destinationToken: Address<TAccountDestinationToken>;The destination SPL Token account.
equalityProofInstructionOffset
equalityProofInstructionOffset: ConfidentialTransferInstructionDataArgs["equalityProofInstructionOffset"];equalityRecord?
optional equalityRecord: Address<TAccountEqualityRecord>;(Optional) Equality proof record account or context state account.
instructionsSysvar?
optional instructionsSysvar: Address<TAccountInstructionsSysvar>;(Optional) Instructions sysvar if at least one of the
zk_elgamal_proof instructions are included in the same
transaction.
mint
mint: Address<TAccountMint>;The corresponding SPL Token mint.
multiSigners?
optional multiSigners: TransactionSigner[];newSourceDecryptableAvailableBalance
newSourceDecryptableAvailableBalance: ConfidentialTransferInstructionDataArgs["newSourceDecryptableAvailableBalance"];rangeProofInstructionOffset
rangeProofInstructionOffset: ConfidentialTransferInstructionDataArgs["rangeProofInstructionOffset"];rangeRecord?
optional rangeRecord: Address<TAccountRangeRecord>;(Optional) Range proof record account or context state account.
sourceToken
sourceToken: Address<TAccountSourceToken>;The source SPL Token account.