Lending & Liquidation – Managing Your Borrowing on Marginfi

Edited

This guide explains how lending, borrowing, and health factors work on Marginfi. It also covers key features like isolated vs. global pools and how liquidations function.


Common Errors & Solutions

What does the “Simulating health/liquidation impact failed” error mean?

This error occurs due to stale oracles caused by network congestion on Solana.

  • Stale oracles happen when price updates are delayed.

  • To prevent price manipulation, Marginfi restricts certain actions when oracles are outdated.

If this error persists, try again later or check the Solana network status.


Lending Features

How can I check the rewards and yields of my lending positions?

You can monitor your rewards and yields directly in the Marginfi app:

  1. Log in to Marginfi and connect your wallet.

  2. Go to Your Dashboard → Navigate to the Lending section.

  3. Check Your Positions → See deposited amount, APY, and accrued rewards.

If you don’t see your rewards:

  • Refresh the page or clear your browser’s cache.

  • Ensure you're using the latest version of the app.

  • Contact support if the issue persists.


Borrowing Rules

How long can I borrow and lend?

You can borrow or lend as long as your health factor stays above 0%.

Can I borrow against my assets in isolated pools?

No, isolated assets cannot serve as collateral.

  • Borrowing is only possible using tokens in the global pool.

  • This is a safety feature to manage risk and ensure platform stability.


Health Factors & Liquidation

How do health factors work?

Health factors indicate how well-collateralized your account is:

  • Positive health factor → Your account is safe.

  • Negative health factor (<0%) → Your account is at risk of liquidation.

What happens if my health factor drops below 0%?

If your borrowed assets exceed your lent assets, you may be liquidated.


Lending & Borrowing Restrictions

Can I lend and borrow the same assets?

No. Lending and borrowing the same assets is not allowed because:

  • It distorts supply and demand, creating a feedback loop.

  • It can be manipulated to affect interest rates and fees.

How can I borrow tokens that are in isolated pools?

Tokens in isolated pools cannot be used as collateral.

  • Only tokens in the global pool are eligible for borrowing.

  • This design ensures risk management and platform stability.


Upgrading Tokens from Isolated to Global Pools

How much time does it take for a project to move from isolated to the global pool?

Tokens move to the main pool only when they meet all necessary safety requirements.

If you’re unsure about a specific token’s eligibility, check its status in the app or contact support.


Final Thoughts

This guide covers the most important aspects of lending, borrowing, and health factors on Marginfi. If you still have questions, don’t hesitate to reach out to support.