Get available liquidity

Get available liquidity on Fluid

Ethereum
Ethereum
Base
Base

Reads onchain state

Ready to run on Base

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.

More plugs on Base

Borrow on Base · 7 plugs

More on Fluid · 12

On other protocols · 3