> For the complete documentation index, see [llms.txt](https://resources.defirisk.intotheblock.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://resources.defirisk.intotheblock.com/compound-v2/total-supply.md).

# Total Supply

**Overview**

The Total Supply indicator essentially measures the total market size of a DeFi (Decentralized Finance) lending protocol. It comprises both the deposits made into the protocol by lenders and the funds borrowed by borrowers. This metric focuses on the total volume of funds actively engaged in the lending and borrowing process, providing a dynamic view of the protocol's activity.

The indicator encapsulates the entire ecosystem of a lending protocol, including:

* **Deposits:** The total amount of funds that lenders have supplied to the protocol.
* **Borrows:** The total amount of funds that borrowers have currently taken out as loans from the protocol.

The sum of these two components gives us the aggregate market size of the lending protocol, offering a comprehensive snapshot of its financial activity.

**How can I use it?**

<figure><img src="/files/NOYnbR2AcL4mdHS8hIyJ" alt=""><figcaption></figcaption></figure>

This indicator allows users, investors, and analysts to gauge the overall size of the lending protocol's market. A larger aggregate amount suggests a more extensive ecosystem. Moreover, changes in the aggregate amount of funds supplied can be a clear indicator of the protocol's growth or contraction over time. An increasing trend may signal rising trust and participation in the protocol, while a decrease could indicate the opposite.

By comparing this metric across different DeFi lending protocols, stakeholders can evaluate the relative market position and competitiveness of a protocol. This can inform investment decisions, protocol improvements, and strategic planning.

In essence, the aggregate amount of funds supplied for lending is a critical indicator for understanding the scale and dynamics of a DeFi lending protocol. It provides valuable insights into the protocol's market size, growth trends, risk profile, and the liquidity environment, serving as a crucial tool for decision-making and analysis within the DeFi space.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://resources.defirisk.intotheblock.com/compound-v2/total-supply.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
