ConfidentialWithdrawInput
type ConfidentialWithdrawInput<TAccountToken, TAccountMint, TAccountInstructionsSysvar, TAccountEqualityRecord, TAccountRangeRecord, TAccountAuthority> = {
amount: ConfidentialWithdrawInstructionDataArgs["amount"];
authority: | Address<TAccountAuthority>
| TransactionSigner<TAccountAuthority>;
decimals: ConfidentialWithdrawInstructionDataArgs["decimals"];
equalityProofInstructionOffset: ConfidentialWithdrawInstructionDataArgs["equalityProofInstructionOffset"];
equalityRecord?: Address<TAccountEqualityRecord>;
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
mint: Address<TAccountMint>;
multiSigners?: TransactionSigner[];
newDecryptableAvailableBalance: ConfidentialWithdrawInstructionDataArgs["newDecryptableAvailableBalance"];
rangeProofInstructionOffset: ConfidentialWithdrawInstructionDataArgs["rangeProofInstructionOffset"];
rangeRecord?: Address<TAccountRangeRecord>;
token: Address<TAccountToken>;
};Type Parameters
| Type Parameter | Default type |
|---|---|
TAccountToken extends string | string |
TAccountMint extends string | string |
TAccountInstructionsSysvar extends string | string |
TAccountEqualityRecord extends string | string |
TAccountRangeRecord extends string | string |
TAccountAuthority extends string | string |
Properties
amount
amount: ConfidentialWithdrawInstructionDataArgs["amount"];authority
authority:
| Address<TAccountAuthority>
| TransactionSigner<TAccountAuthority>;The source account's owner/delegate or its multisignature account.
decimals
decimals: ConfidentialWithdrawInstructionDataArgs["decimals"];equalityProofInstructionOffset
equalityProofInstructionOffset: ConfidentialWithdrawInstructionDataArgs["equalityProofInstructionOffset"];equalityRecord?
optional equalityRecord: Address<TAccountEqualityRecord>;(Optional) Equality proof record account or context state account.
instructionsSysvar?
optional instructionsSysvar: Address<TAccountInstructionsSysvar>;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[];newDecryptableAvailableBalance
newDecryptableAvailableBalance: ConfidentialWithdrawInstructionDataArgs["newDecryptableAvailableBalance"];rangeProofInstructionOffset
rangeProofInstructionOffset: ConfidentialWithdrawInstructionDataArgs["rangeProofInstructionOffset"];rangeRecord?
optional rangeRecord: Address<TAccountRangeRecord>;(Optional) Range proof record account or context state account.
token
token: Address<TAccountToken>;The SPL Token account.