Get collateral status
Get collateral status

Aave V4 · Reads onchain state

Reads whether an address has a reserve enabled as collateral on an Aave V4 spoke, and whether it is borrowing it. A V4 spoke tracks collateral use and borrowing per user, per reserve, and a supply never switches collateral on by itself: the deposit sits idle until the user enables it, and only then does it count toward borrowing power and get bound to the reserve's collateral factor. The read returns both flags for the named account. Reach for it before a borrow so a predicate can require the collateral is switched on, or to branch: enable collateral only when it is currently off, then proceed to the borrow in the same transaction.

On other protocols · 2