Documentation
    Preparing search index...
    • Redeem a live order you hold account authority over.

      A live order is priced and closed (partial or full). Settled orders must use redeem_settled. Returns a replacement order ID only when a partial close leaves quantity open.

      Two close-side slippage floors, the mirror of mint's max_probability / max_cost pair; pass 0 to disable either. min_probability floors the quoted per-contract range probability (same units as mint's max_probability). min_proceeds floors the all-in net USDC credited to the account (redeem_amount minus trading fee, builder fee, and EWMA penalty), the mirror of mint's all-in max_cost.

      Returns (tx: Transaction) => TransactionResult