Documentation
    Preparing search index...

    Function redeemLiveProceeds

    • Net proceeds of closing a live position — expiry_market::redeem_live's payment decomposition, client-side. The mirror of mintCost: the same per-boundary trading fee and builder fee, the same congestion surcharge, and the inventory-impact term as a REBATE rather than a charge. There is no sponsor subsidy on a close (incentives subsidise mints only), and each deduction is clamped at the payout remaining after the ones before it, exactly as the contract clamps them, so a close can never cost more than it releases.

      Use this for a local UI preview from a supplied snapshot. read.quoteRedeem simulates the actual close and remains the pre-trade check for ownership, remaining position size, live-market gates and current fees. proceeds is what min_proceeds is compared against on the real call; this preview does not guarantee execution at that amount.

      Parameters

      Returns RedeemLiveProceeds