Withdraw collateral

Withdraw collateral on Fluid

Ethereum
Ethereum
Base
Base

Acts onchain

Ready to run on Base

Withdraws collateral from a Fluid vault position. The vault only lets a position's owner withdraw, so the socket takes the position NFT under the operator approval the wallet grants in the same confirmation, calls operate paying the collateral to the wallet, and returns the NFT in the same transaction. The live supply is read and compared with the amount: less than the supply withdraws that much, while at least the supply closes the collateral leg exactly with interest included. The vault refuses a withdrawal that pushes the position past its max LTV. The call returns the deltas applied. Reach for it to free collateral after a repay earlier in the transaction, or to pull the exact amount the wallet needs.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More plugs on Base

Borrow on Base · 7 plugs

More on Fluid · 12

On other protocols · 3