


Reads onchain state
Reads an address's balance of one collateral in a Morpho Midnight market. A Midnight market can take several collaterals, each held, priced and liquidated on its own; the read returns the balance of the one named, in its own units. Reach for it to size a collateral withdrawal, to watch a liquidation take collateral, or to move collateral between markets.
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 Morpho Midnight · 9