


Reads onchain state
Reads how much collateral can be withdrawn from and debt borrowed against a Fluid vault right now. The vault resolver's data is decoded into withdrawable, in the collateral's units, and borrowable, in the debt asset's units, reflecting the vault's liquidity layer limits at this block. Reach for it to clamp a borrow or withdrawal with a min so it lands rather than reverts at the limit, or to require the vault can fund a target size before earlier steps commit.
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.
Borrow on Base · 7 plugs
More on Fluid · 12













On other protocols · 3