• The largest collateral withdrawal the contract would accept right now, and which gate caps it (core maxWithdrawableCollateral, MK-042).

    A limit to display, not an amount to withdraw (MK-247). When the individual ratio caps it, a withdrawal of exactly amount leaves the Trove at the 110% liquidation threshold (TroveManager.sol:1146-1148): refused a second later as interest accrues (MK-051), and if the price rises first, accepted and left at MCR, where the next fall liquidates it. Do not wire it to a "max" button that sends it. It also removes borrowing capacity that adding the collateral back does not restore, reported with the refinance that would win it back in capacityAfter (MK-242).

    limitedBy says whether the cap is the position's own ratio, the system ratio, or Recovery Mode refusing withdrawal entirely, which are three different things to tell a user.

    Parameters

    • __namedParameters: { owner: undefined | `0x${string}` }

    Returns UseQueryResult<MaxWithdrawable, Error>