Get total borrows

Get total borrows on Moonwell

Base
Base

Reads onchain state

Reads how much of its asset a Moonwell market has lent out. totalBorrows is every borrower's debt in the market with interest as of its last accrual. Reach for it to watch how much of a market is lent out, or to compare it against the market's cash and borrow cap before borrowing.

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 on Moonwell · 17

On other protocols · 1