> ## Documentation Index
> Fetch the complete documentation index at: https://tokenterminal.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Lending

> Every lending market: supply, borrows and rates, across every protocol.

In a lending protocol, users deposit a token so that others can borrow it, and a borrower has to leave collateral behind. A lending pool is a group of markets that share that collateral: what you deposited in one market can back what you borrow in another. A market is one asset inside one pool: the asset users supply and borrow there. Lending protocols usually call that a reserve, and it is the smallest thing the catalog counts.

## Pages

<CardGroup cols={2}>
  <Card title="Registry" icon="table-list" href="/docs/catalog/lending/registry">
    Market identity: the pool it belongs to, the asset it lends, the chain and the version.
  </Card>

  <Card title="Deposits" icon="bolt" href="/docs/catalog/lending/deposits">
    Every deposit into a lending market. **In progress.**
  </Card>

  <Card title="Withdrawals" icon="bolt" href="/docs/catalog/lending/withdrawals">
    Every withdrawal from a lending market. **In progress.**
  </Card>

  <Card title="Borrows" icon="bolt" href="/docs/catalog/lending/borrows">
    Every borrow from a lending market. **In progress.**
  </Card>

  <Card title="Repayments" icon="bolt" href="/docs/catalog/lending/repayments">
    Every loan repayment in a lending market. **In progress.**
  </Card>

  <Card title="Liquidations" icon="bolt" href="/docs/catalog/lending/liquidations">
    Every liquidation of an undercollateralized borrower. **In progress.**
  </Card>

  <Card title="Flash loans" icon="bolt" href="/docs/catalog/lending/flash-loans">
    Every flash loan: borrowed and repaid inside one transaction. **In progress.**
  </Card>

  <Card title="Interest rates" icon="bolt" href="/docs/catalog/lending/interest-rates">
    Every rate update in every lending market. **In progress.**
  </Card>

  <Card title="Metrics" icon="chart-line" href="/docs/catalog/lending/metrics">
    Daily lending figures per market.
  </Card>
</CardGroup>

## What one row means

Each market row also names the things it belongs to: the version of the protocol it runs, the chain it sits on, the deployment it is part of, and the project behind it. The same figures then group upward without another join. For anything you can add up, a pool's figure is its markets added together, and a deployment's figure is its pools added together.
