Skip to content
Markets 24H · USDT TR EN Updated 01:41
5 min read

Guides

How to monitor collateral and liquidation risk in DeFi

How to monitor collateral and liquidation risk in DeFi
Save article

Quick answer

Monitor total debt as well as collateral. In Aave V3, health factor compares threshold-weighted collateral with debt; a reading below 1 makes the position eligible for liquidation.

  • Repayment or eligible collateral additions can raise the ratio. Prices, interest, mode, execution time and fees mean the same numerical target does not imply the same risk for everyone.

Collateral prices are only part of DeFi borrowing risk. Work through changes in debt, repayment choices and the limits of alerts with explicit numerical assumptions.

Monitoring DeFi collateral requires more than checking a price chart occasionally. Collateral can fall, interest can accumulate, or the asset you borrowed can appreciate. A comfortable-looking buffer may shrink before a transaction confirms. Using the Aave V3 model, we work through the inputs to record, the calculations to repeat and the practical limits of an intervention plan.

All numerical positions are hypothetical. The 80% liquidation threshold used below is not a recommendation or a verified parameter for a current reserve. The network, protocol version, asset and selected mode determine which inputs apply.

Record the network, version, collateral and debt first

Start with the network and version hosting the position. List assets enabled as collateral, their amounts, the prices used by the protocol, each liquidation threshold and total debt including accrued interest. A balance sitting in a wallet without being supplied as collateral does not count.

Maximum LTV sets a limit for new borrowing; the liquidation threshold is used to assess the existing position. They are not interchangeable. Aave’s collateral controls depend on the selected asset. With E-Mode enabled, check the applicable E-Mode category instead of copying the standard reserve percentage.

Calculate health factor with explicit assumptions

For Aave, health factor compares collateral weighted by its liquidation threshold with total debt. With one collateral asset, the simplified formula is collateral value × liquidation threshold ÷ debt. For several collateral assets, calculate each weighted value and add them before dividing by debt.

Assume $12,000 of collateral, an 80% threshold and $6,000 of debt. Health factor is 12,000 × 0.80 ÷ 6,000 = 1.60. Aave’s liquidation guidance identifies a reading below 1 as eligible for liquidation. A reading above 1 does not promise freedom from loss.

Health factor after a 20% collateral decline and a 5% debt increase
Stress-testing a hypothetical position
PositionCollateralDebtHealth factor
Starting point$12,000$6,0001.60
Collateral falls 20%$9,600$6,0001.28
Debt value then rises 5%$9,600$6,300About 1.219

The 5% debt increase is a stress assumption, not an interest forecast for a specified period. Interest or appreciation of the borrowed asset can increase the dollar liability. The ratio can fall even without another collateral decline. If debt stays at $6,300 and the threshold stays at 80%, the HF=1 boundary corresponds to $7,875 of collateral: 6,300 ÷ 0.80. Parameter changes would move that boundary.

Repaying debt and adding collateral require different amounts

Take the stressed position: $9,600 collateral and $6,300 debt. Use a target ratio of 1.50 only to compare the arithmetic; it is not a universally safe level. Ignore transaction costs and interest accrued during execution for the moment.

Two mathematical routes to the same hypothetical target
ActionCalculationRequired change
Reduce debt9,600 × 0.80 ÷ 1.50 = 5,120Repay $1,180
Increase collateral6,300 × 1.50 ÷ 0.80 = 11,812.50Add $2,212.50 of collateral with the same threshold

The smaller dollar amount does not make repayment the right choice for everyone. Available assets, approvals, swap costs and network fees differ. Adding volatile collateral may improve the ratio immediately while increasing exposure to the same price shock. If the new collateral has a different threshold, the table cannot be applied unchanged.

Checks before and after a transaction

  1. Open the position on the correct network and account. Verify that the displayed debt includes interest.
  2. Keep the borrowed asset available for repayment and enough native network asset for fees. An ERC-20 balance does not automatically pay Ethereum gas.
  3. Check the asset, amount, network and authorized contract before signing. Read the estimated remaining debt after any partial repayment.
  4. Do not equate a submitted transaction with a completed one. Check the successful onchain record and the updated position.
  5. Record remaining debt, collateral and health factor again. Adjust alerts for the position that now exists.

Aave’s repayment flow supports partial or full repayment; another approval may be required for the asset. Disconnecting a wallet does not repay debt. Withdrawing collateral does not repay it either and can lower health factor.

Why an alert is not an intervention plan

A price notification does not measure the same thing as a health factor notification. If debt and collateral are different assets, watching only the collateral’s exchange price leaves gaps. The protocol’s oracle inputs, accrued debt and any parameter changes belong in the calculation.

A monitoring plan should name the notification channel, the account you would use and where the required assets are held. Allow for congestion, failed transactions or an unavailable interface. No fixed checking interval or single health factor is safe for every position.

What to inspect after a liquidation

Read the repaid debt, seized collateral and applied bonus from the liquidation transaction. It is not correct to assume that exactly half the debt is always repaid; version, position size and risk conditions affect the rules. Recalculate remaining debt and collateral before assuming the position has closed.

The economic cost is not just the network fee. Collateral removed, debt repaid and any bonus are separate amounts. The Aave interface review shows where reserve parameters are displayed; the liquidation glossary entry explains the event without extending into a full monitoring workflow.

Frequently asked questions

Do I need to monitor health factor if I have no debt?

Without debt, the debt-versus-collateral liquidation calculation does not apply. Supplied assets still carry risks such as asset-price changes, smart-contract failure and pool liquidity constraints.

Does a health factor of 1.5 make a position safe?

There is no universally safe ratio. Collateral volatility, the borrowed asset, oracle prices and execution time differ. The guide uses 1.50 only as an arithmetic target for comparing two actions.

Can health factor fall while collateral prices stay unchanged?

Yes. Interest can increase debt, and an increase in the borrowed asset’s value can raise the dollar liability. Changes to applicable risk parameters also require recalculation.

Does withdrawing some collateral reduce liquidation risk?

If weighted collateral falls while debt remains unchanged, health factor declines. Withdrawal and repayment are different actions. Check the estimated post-transaction position before signing.

Is there a guaranteed response window after an alert?

No. Liquidators may act once the conditions are met. Notifications can be delayed and networks congested. An alert does not guarantee that a protective transaction will complete in time.

PRIVACY PREFERENCES