> For the complete documentation index, see [llms.txt](https://docs.creditcoop.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.creditcoop.xyz/core-concepts/secured-line-of-credit/secured-line-of-credit.md).

# Line of Credit Features

There are two ways to secure a Line of Credit, which can be combined in a single facility:

<details>

<summary>Cash Flow / Revenue-Based Security</summary>

Facilitated by the [Spigot](/core-concepts/the-spigot.md), this approach escrows an agreed percentage of the Borrower's onchain cash flows at the source. Escrowed revenue repays the Line automatically and provides Trustless Recourse: if the Borrower defaults, the facility's share of revenue steps up programmatically.

</details>

<details>

<summary>Asset-Based Security</summary>

The Borrower deposits collateral into an Escrow contract attached to the Line. Supported collateral includes ERC-20 tokens, ERC-4626 vault tokens, and Uniswap V3 liquidity positions. Collateral is priced by oracle and a Collateral Ratio is maintained against the facility's total outstanding debt. If the ratio falls below the agreed minimum, the Line becomes eligible for liquidation.

</details>

Every facility also carries:

* **Tokenized positions** — each Credit Line is an ERC-721 [Credit Position Token](/core-concepts/secured-line-of-credit/secured-line-of-credit/credit-position-tokens.md)
* **Per-position terms** — each position has its own interest rates, deadline, and early withdrawal fee
* **Mutual consent with replay protection** — all term changes require both parties to sign identical terms against the facility's current nonce
* **A defined role model** — Borrower, Admin, and Servicer, described in [Roles & Permissions](/core-concepts/secured-line-of-credit/secured-line-of-credit/roles-and-permissions.md)


---

# 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://docs.creditcoop.xyz/core-concepts/secured-line-of-credit/secured-line-of-credit.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.
