Guide to Morpho Deposits and Loans: How to Track Them
Learn what Morpho deposits and loans are, why they are difficult to reconstruct from token balances, and how to track them with the Zerion app, CLI, and API.
Morpho is a permissionless protocol that lets you deposit and borrow crypto. But many wallets and other apps fail to properly show your balances.
Morpho positions need more context than ordinary token balances. Vault deposits change through share-price appreciation while collateral sits inside the protocol and debt increases as a liability outside your wallet balance.
This post explains how Morpho deposits and loans work and how to track them with the Zerion app, Zerion CLI, or Zerion API.
What is Morpho?
Morpho is a permissionless lending protocol and open credit network for noncustodial lending and borrowing.
Its Variable Rate Markets, commonly known as Morpho Blue, let users supply assets or borrow against collateral in isolated markets. Morpho Midnight adds fixed-rate, fixed-term markets and operates alongside Blue rather than replacing it.
Morpho supports vault deposits through Earn and isolated market positions through Borrow. Curate covers vault management and sits outside the scope of this guide.
How Morpho deposits work
Morpho Vaults
A Morpho Vault pools deposits and allocates them across approved markets. You deposit an underlying crypto asset and receive ERC-4626 receipt tokens, or shares, representing your proportional ownership of the vault.
The important detail for tracking vaults is that accrued interest increases the value represented by each share. The balance itself does not grow. Instead, the vault’s conversion rate from shares to underlying assets changes over time.
A curator defines a vault’s risk parameters, caps, and fees. Allocators execute reallocations, while sentinels can take limited emergency actions. Depositors still face smart-contract, market, curator, liquidity, and oracle risks.
Supplying directly to a market
Advanced users can supply a loan asset directly to one Morpho Blue market.
In that case, there may be no transferable token in the wallet at all. Morpho records supply shares as internal, non-transferable accounting units tied to a market ID.
A token tracker that only scans ERC-20 balances has nothing to detect. The balance needs to be reconstructed from protocol state.
How Morpho loans work
Morpho Blue markets are isolated and immutable. Each market defines one collateral asset and one loan asset, and anyone can create a market permissionlessly.
Five parameters define each market:
- Collateral asset, which you supply as collateral
- Loan asset, which you borrow
- LLTV — the liquidation loan-to-value threshold
- Oracle — the price feed used to value collateral
- IRM — the interest-rate model
Applications identify each market through its asset pair and immutable parameters rather than a protocol-wide account.
Health factor and liquidation
Health factor measures the distance between a borrow position and liquidation:
HEALTH_FACTOR = (COLLATERAL_VALUE_IN_LOAN_TOKEN × LLTV) / BORROWED_AMOUNT
A position is healthy when its health factor remains above 1.0. Below 1.0, it becomes eligible for liquidation.
As collateral value falls or debt grows, the health factor moves toward the liquidation threshold. Tracking it requires current position values together with the market’s LLTV and oracle data.
Collateral remains idle inside the protocol. Debt, meanwhile, continues to accrue interest even when the wallet makes no new transactions.
Fixed Rate Markets
Morpho Midnight uses fixed-rate, fixed-term markets.
Positions contain credit or debt units with a maturity date, and a market can accept multiple collateral assets.
Midnight is currently deployed on Base. A tracker also needs to account for maturity: once debt passes maturity, liquidation rules no longer depend only on the same health-factor view used for an open-ended Blue position.
Why Morpho positions are hard to track
Morpho’s design creates several blind spots for wallet balance tracking:
- Vault shares are not the underlying assets. A share balance by itself does not tell you how much USDC or another asset it represents.
- Accrued interest does not increase the share balance. The tracker must use the changing share price.
- Direct market supplies may have no receipt token. The position exists only in Morpho’s internal accounting.
- Collateral leaves the wallet. It sits inside a specific market and cannot be inferred from the current wallet balance.
- Debt is easy to miss. Borrowed tokens appear as assets, while the offsetting liability lives in protocol state and continues to grow.
- Positions are fragmented. A wallet may use several isolated markets, vaults, and chains.
- Vaults can be nested. A share token may sit several layers above the markets where capital is deployed.
Because of that, a Morpho portfolio tracker needs protocol decoding, asset normalization, and debt-aware net-worth logic. A regular token indexer is not enough to show the full picture.
Track Morpho positions with Zerion
For an individual wallet, Zerion provides a straightforward way to see Morpho deposits and borrow positions alongside the rest of a portfolio.
Open the Zerion web app and paste an address or ENS name. In Overview, positions are grouped by protocol. Expand the Morpho group to see supplied and borrowed legs. Watch-only tracking works even without connecting the wallet.
Zerion also shows DeFi positions in its mobile apps and browser extension.
Track Morpho positions from the terminal
Zerion CLI gives terminal users and AI agents the same normalized portfolio context as the Zerion web app.
CLI is open source and free to install, but you will need a Zerion API key (there is a generous free developer plan) :
npm install -g zerion-cli
export ZERION_API_KEY="zk_..."After that, you can run commands on your own or install Skill and tell chat with your AI agent in plain English:
zerion positions vitalik.eth --defi
zerion positions vitalik.eth --positions defi --chain baseJSON is the default output, which makes the result easy for AI agents to work with or pass into other tools. The CLI does not currently expose a dedicated Morpho flag, so filter the returned protocols by the protocol or dApp field in your own script.
Track Morpho deposits and loans with Zerion API
For wallets, portfolio trackers, tax tools, and agentic apps, Zerion API removes the need to build and maintain a separate Morpho position indexer.
One call to the /positions endpoint returns decoded Morpho positions across all supported chains in the same schema used throughout the product.
curl -g -u "YOUR_API_KEY:" \
"https://api.zerion.io/v1/wallets/{address}/positions/?currency=usd&filter[positions]=only_complex&filter[position_types]=deposit,loan"In the response, the fields that matter most are:
position_typeidentifies a deposit or loanprotocolandapplication_metadataidentify Morphoprotocol_moduleidentifies the lending module- quantity and value normalize the position into the requested fiat currency
receipt.fungible_infodescribes an ERC-4626 receipt token when one existsgroup_idconnects related legs so an interface can render them together
For portfolio math, treat a loan’s value as a positive magnitude that must be subtracted. If a response contains $4,000 in supplied value and $300 in borrowed value, the net position is $3,700.
Zerion API gives you the normalized wallet-level position state: the deposited asset, debt, fiat value, protocol metadata, and related positions.
Start tracking Morpho positions
Morpho’s isolated markets, share-price accounting, and protocol-held collateral make token balance tracking insufficient.
Zerion does the heavy lifting to show readable Morpho deposits and loans alongside the rest of the portfolio for any EVM wallet address.
Track any address in the Zerion app, or create a free Zerion API key to add Morpho positions to your product.