ConfidentialWithdrawInstructionData: {
    amount: bigint;
    confidentialTransferDiscriminator: number;
    decimals: number;
    discriminator: number;
    equalityProofInstructionOffset: number;
    newDecryptableAvailableBalance: DecryptableBalance;
    rangeProofInstructionOffset: number;
}

Type declaration

  • amount: bigint

    The amount of tokens to withdraw.

  • confidentialTransferDiscriminator: number
  • decimals: number

    Expected number of base 10 digits to the right of the decimal place.

  • discriminator: number
  • 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: DecryptableBalance

    The new decryptable balance if the withdrawal succeeds.

  • 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.

Generated using TypeDoc