Get max LTV
Get max LTV

Aave V4 · Reads onchain state

Reads the collateral factor of an Aave V4 reserve and whether it can back a borrow. V4 keeps one number where V3 kept two: the collateral factor in basis points is both the most debt this collateral supports at borrow time and the line below which the position can be liquidated. It comes from the reserve's current dynamic config, the one a fresh borrow or collateral enablement snapshots onto the position; a position opened earlier may still be governed by the key it was bound to. canBeCollateral is true when the factor is non-zero. Reach for it to compute borrowing capacity before a borrow, multiplying the collateral's value from a price read by the factor, or to require an asset is eligible as collateral before supplying it for that purpose.

On other protocols · 3