How-to guide
Remove liquidity
Use this guide to withdraw an LP position. Removal works in every lifecycle phase, including after the market has closed.
Remove through the pair
- Preview the proportional YES and NO outputs.
- Set the pair's
minYesandminNobounds and adeadline. - Call the pair's own
removeLiquidity(liquidity, minYes, minNo, recipient, deadline). The first-party UI uses this path, so it never asks for a router allowance. The deadline is enforced on chain.
Remove through the router
Integrations that need router-based removal can call the router's removeLiquidityWithPermit, whose bounds are named minYesOut and minNoOut, with an exact-amount ERC-2612 signature. Ordinary exact allowances remain available for already submitted permits, Safes, and clients without signature support. Never grant a permanent or implicit infinite allowance.
What removal does not do
Removal stays available after question end, resolution, fork, migration, and truth-auction phases, and always returns raw YES and NO. It does not inspect or consume your wallet INVALID, redeem complete sets, settle winning shares, select a child branch, or migrate liquidity. For those, see Handle resolution and Handle a universe fork.