# Solvency checks

### Protects

{% hint style="success" %}

* Loan repayments
* Against [Darwin awards](https://darwinawards.com/)
  {% endhint %}

### Solvency checks

If the health of your Prime Account drops to 0% (as explained [here](/prime-brokerage-account/health-and-borrowing-power.md#the-health-meter)), your account will be deemed insolvent. An insolvent account will be [partially liquidated](/protocol/security/liquidations.md) to bring it back to a solvent state. This is mainly dependent on the ratio between borrowed assets and collateral. There are multiple reasons this could occur. A drop in the price of collateral assets, or an increase in the price of borrowed assets are the most frequent reasons for liquidation.

But what happens if you accidentally borrow more than your account can support? Or if you pay so much for slippage it turns your account insolvent? Or what if you accidentally swap too much to an asset with lower borrowing power?

DeltaPrime's solvency checks protect you from accidentally turning your account insolvent. Whenever you initiate a transaction, the protocol automatically checks the solvency of your account post-transaction. Does this leave your account insolvent? Then the transaction is reverted, and it will be like you never initiated the transaction in the first place. In the on-chain explorer, it will show that the transaction was reverted with the following error message:

> The action may cause an account to become insolvent

Additionally, borrowing can be done down to a minimum of 10% health. This is done in order to prevent rapid price swings immediately liquidating your newly borrowed position.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.deltaprime.io/protocol/security/solvency-checks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
