xrpl
    Preparing search index...

    Interface ConfidentialConvertBackParams

    interface ConfidentialConvertBackParams {
        account: string;
        amount: bigint;
        confidentialState?: ConfidentialSpendingState;
        holderKeypair: ConfidentialKeypair;
        ledgerIndex?: LedgerIndex;
        mptIssuanceID: string;
        outstandingDelta?: bigint;
        sequence?: number;
    }

    Hierarchy

    • BaseConfidentialParams
      • ConfidentialConvertBackParams
    Index

    Properties

    account: string

    The holder's classic XRPL address.

    amount: bigint

    The public MPT amount being revealed from the confidential balance.

    confidentialState?: ConfidentialSpendingState

    Advanced: predicted spending balance + version to prove against, overriding live ledger state. Set by prepareConfidentialBatch; unset for a standalone convert-back.

    holderKeypair: ConfidentialKeypair

    The holder's ElGamal keypair.

    ledgerIndex?: LedgerIndex

    Advanced: the ledger index to read confidential state (balance, version, issuer/auditor keys) from, so a single proof is built from one coherent ledger snapshot. Defaults to the latest validated ledger. prepareConfidentialBatch sets it so every inner shares one ledger; standalone callers normally omit it.

    mptIssuanceID: string

    The 24-byte hex MPTokenIssuanceID.

    outstandingDelta?: bigint

    Advanced: extra headroom for the balance-decrypt search bound over the issuance's on-ledger ConfidentialOutstandingAmount. Set by prepareConfidentialBatch to the in-batch Convert total, so a balance topped up earlier in the same Batch stays decryptable; unset otherwise.

    sequence?: number

    Optional explicit sequence number. When omitted the builder queries the account's current sequence. The returned transaction pins Sequence, so it must be submitted without re-deriving the sequence (the proof is bound to it).