


Reads onchain state
Reads the governance-set supply cap of an asset in an Aave market. The cap is decoded from the reserve configuration in whole tokens; zero means uncapped. Once total supplied reaches it, the pool rejects further supplies of that asset. Reach for it with total supplied to compute the remaining room and cap a supply amount so it lands rather than reverts, or to require headroom exists before a strategy commits earlier steps toward a deposit.
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
Earn yield on Base · 12 plugs
More on Aave · 25


























On other protocols · 2