> For the complete documentation index, see [llms.txt](https://docs.radpiexyz.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.radpiexyz.io/looping-on-radiant-capital.md).

# Looping on Radiant Capital

## What is Looping?

The looping functionality from Radiant Capital enables users to enhance their collateral value by repeatedly executing the borrow and deposit process. This allows participants to leverage their collateral, potentially increasing the yield.

## How does Radpie pay its debt?

When users deposit their assets on Radpie, the platform's deposit composition rises, as does its debt (if there is leverage). Essentially, Radpie offers looping services to users while distributing RDNT rewards. When users withdraw their assets from Radpie, the protocol essentially "unloops" their portion of the pool, resulting in a decrease in deposit and repay proportional debt position.

## Radpie's receipt token

When users deposit their holdings into Radpie, they are issued a receipt token that represents their deposited assets. Through Radpie, users have the opportunity to earn RDNT rewards and also leverage their deposits to gain enhanced yield from Radiant Capital. It's important to note that the value of the underlying asset per receipt token will decrease. Users obtain a greater number of receipt tokens compared to the amount they deposit, as the value of each receipt token diminishes over time due to the accrual of borrowing interest. This is because the interest from borrowing is subtracted from the deposited amount.


---

# 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.radpiexyz.io/looping-on-radiant-capital.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.
