Withdraw WETH collateral
build_withdraw_collateralWithdraw WETH collateral from the Morpho WETH/USDC market (refused if it would leave the loan past 86% loan-to-value). No Panda fee. Returns unsigned transactions to sign in order (and as one EIP-5792 batch), simulated from the wallet, plus a sign_url for a human owner. Nothing is sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | The wallet on Base that will sign (and that owns the positions). | |
| amount_weth | Yes | WETH to withdraw, or "all". |