ConfidentialWithdrawInstructionData
type ConfidentialWithdrawInstructionData = {
amount: bigint;
confidentialTransferDiscriminator: number;
decimals: number;
discriminator: number;
equalityProofInstructionOffset: number;
newDecryptableAvailableBalance: DecryptableBalance;
rangeProofInstructionOffset: number;
};Properties
amount
amount: bigint;The amount of tokens to withdraw.
confidentialTransferDiscriminator
confidentialTransferDiscriminator: number;decimals
decimals: number;Expected number of base 10 digits to the right of the decimal place.
discriminator
discriminator: number;equalityProofInstructionOffset
equalityProofInstructionOffset: number;Relative location of the
ProofInstruction::VerifyCiphertextCommitmentEquality instruction
to the Withdraw instruction in the transaction. If the offset is
0, then use a context state account for the proof.
newDecryptableAvailableBalance
newDecryptableAvailableBalance: DecryptableBalance;The new decryptable balance if the withdrawal succeeds.
rangeProofInstructionOffset
rangeProofInstructionOffset: number;Relative location of the ProofInstruction::BatchedRangeProofU64
instruction to the Withdraw instruction in the transaction. If the
offset is 0, then use a context state account for the proof.