Liquidity
Remove Liquidity
Burn LP shares and withdraw the borrow asset
POST
Redeems LP shares for the borrow asset at the current share price, which includes accrued interest. No approval is needed, so this is a single transaction.
Path Parameters
string
required
Market ID.
Body Parameters
LP shares to redeem as a decimal string with up to 18 decimal places, for example
"250000". Must be greater than zero.string
Hash of the transaction you broadcast for this operation. Send it to confirm the transaction and record the result. Omit it to receive the calldata.
Response Fields
object
Withdrawal is bounded by available liquidity, not by share balance. A provider holding shares worth more than the pool’s idle balance cannot exit fully while borrowers hold the difference. The transaction reverts rather than partially filling. Check
availableLiquidity on Get Market Metrics before redeeming a large position.