xrpl
    Preparing search index...

    Function prepareConfidentialConvert

    • Build a ConfidentialMPTConvert transaction that moves a holder's public MPT balance into their confidential balance. The amount is encrypted under the holder, issuer, and (when registered) auditor keys with a shared blinding factor. On the holder's first Convert the holder key is registered and a Schnorr proof attests ownership of it; this is auto-detected from ledger state (see registerKey).

      Parameters

      Returns Promise<ConfidentialMPTConvert>

      The assembled, unsigned ConfidentialMPTConvert transaction.

      If the issuer encryption key is not registered.