Get cash

Get cash on Moonwell

Base
Base

Reads onchain state

Reads how much of its asset a Moonwell market holds right now. getCash is the market's balance of the asset: the most it can lend to a borrower or pay out to a redeeming supplier in this block. Reach for it before a large borrow or redemption to confirm the market can cover it.

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