> For the complete documentation index, see [llms.txt](https://leon2.gitbook.io/arcade.xyz-cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leon2.gitbook.io/arcade.xyz-cn/borrow/huan-qing-dai-kuan.md).

# 还清贷款

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

借款人应在贷款开始时约定的到期日（due date）和时间（也称为到期日（maturity date）和时间）之前**全额**还清贷款。

如果借款人希望在到期日期和时间之前（例如 - 提早三天）全额还清贷款，不会向借款人征收“提前还款费”。

一旦按上述方式及时全额偿还贷款，协议将向借款人返还资产（保险库或单一 NFT）。

{% hint style="warning" %} <mark style="color:orange;">**还款时间**</mark>

贷款应在贷款到期日期和时间**之前**偿还，而不是在到期日期和时间**当时**偿还。

例如，如果贷款于 9 月 20 日 9:00 到期，借款人应在 9 月 20 日 9:00 之前全额偿还贷款。

如果借款人希望在 9 月 20 日 9:00 之前偿还贷款，不会对借款人收取预付款费。
{% endhint %}

要偿还生效中的贷款，借款人应执行以下步骤：

1. 在 Arcade.xyz 平台上连接存在有效贷款的钱包后，借款人应导航至My Profile并选择My Loans部分。<br>

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

2. 选择`My Loans`后，借款人应选择要偿还的贷款。<br>

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

3. 选择贷款后，应出现贷款的详细信息页面，显示资产和贷款条款。借款人应在此详细信息页面上选择`Payoff Loan`。

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><mark style="color:blue;"><strong>还款的协议方法</strong></mark></p><p>用户选择 <code>Payoff Loan</code> 后，这将弹出两个钱包交易，这些交易将完成链上的支付操作以授权对支付代币的访问，然后另一个用授权的代币偿还贷款。</p></div>

   <figure><img src="/files/3Uvr4HnXNqwKOT8SSQPp" alt=""><figcaption></figcaption></figure>

4. 选择`Payoff Loan`后，会弹出一个钱包交易（Function: Approve）确认代币消费。用户应在其钱包中确认此交易。 \
   应用程序中将出现一条通知，表明代币支出已获授权。

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><mark style="color:blue;"><strong>协议方法</strong></mark></p><p>Approve: 此功能批准用户钱包中的代币支出以偿还贷款。</p></div>

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

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

5. 一旦代币花费在链上获得批准，应用程序中将出现确认交易的成功通知。

   <figure><img src="https://files.readme.io/1ac7047-Pay_Off_a_Loan_05.png" alt=""><figcaption></figcaption></figure>

6. 代币消费通过后，用户必须在详情页面选择`Payoff Loan`。 一旦完成，第二笔交易将出现在用户的钱包中。该交易是与协议偿还贷款的合约交互，以偿还贷款。\
   借款人必须在连接的钱包中确认交易才能偿还贷款。

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><mark style="color:blue;"><strong>协议方法</strong></mark></p><p>Repay: 该协议功能通过协议将贷款偿还给贷方。</p></div>

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

7. 确认后，应用程序中会出现一条通知，表明链上交易处于待处理状态。<br>

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

8. 链上交易完成后，应用内会有成功提示。 贷款应在“My Loan Activity”页面中更新为Repaid状态。贷款已成功偿还！<br>

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

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


---

# 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:

```
GET https://leon2.gitbook.io/arcade.xyz-cn/borrow/huan-qing-dai-kuan.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.
