# DataCap订单续期服务

为了保证有效数据的持续存储，Swan推出Datacap 订单续期服务：[Extend DataCap Terms](https://datacap.swanchain.io/)。该服务将有助于存储提供商保持其10倍算力，延长扇区的到期时间。<br>

所有从[ ](https://console.filswan.com/) [Swan Platform](https://console.swanchain.io/dashboard) 收到的Deals都可以通过这项服务进行DataCap订单续期。

### 要求:

在使用 [Extend DataCap Terms ](https://datacap.swanchain.io/)服务之前，请确保您符合以下要求：

1. 扇区必须处于激活状态；
2. 交易必须来自 [Swan Platform](https://console.swanchain.io/dashboard) 平台；
3. 扇区的校验时间必须在 V17（2383680，2022-11-30 140000 UTC）之后；
4. 确保已安装 `lotus-miner` 1.23.0 或更高版本。

### 延长期限:

1. 扇区的期限时间可延长 180 天、360 天或 540 天。
2. 扇区的最大期限时间不能超过 540 天。

### 如何延长:&#x20;

&#x20;根据 [FIP0045](https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0045.md), 如果要延长 DataCap 扇区的有效期，需要两个步骤:

#### **第一步:**&#x20;

**Client**需要更新DataCap扇区中每笔交易的 Claim `TermMax`:

```
lotus send --from <deal_wallet> --method 11  --params-json '{"Terms":[{"Provider":1836766,"ClaimID":13847890,"TermMax":3680640}]}' f06 0
```

#### **第二步:**&#x20;

**存储提供商**需要完成扇区续期操作:

```
lotus-miner sectors extend --extension=1555200  --really-do-it=true --drop-claims=true  --sector-file=[sector_file]
```

Swan 的 [Extend Datacap Terms Service ](https://datacap.swanchain.io/)可帮助您完成[第一步](#di-yi-bu)，而供应商需要执行[第二步](#di-er-bu)。

### 续期教程：

1. 访问 [Extend Datacap Terms Service](https://datacap.swanchain.io/) ；
2. 填写您的存储提供商 ID 并上传您要续期的扇区列表；
3. 选择续期时间并选择要延期的Claim；
4. 支付完成后，提供您的电子邮件和交易 CID提出申请；
5. 申请成功后，您将收到一封确认邮件；
6. FilSwan 团队在确认了支付状态后，将完成DataCap订单续期，并通过电子邮件回复相应的扇区信息；
7. 存储提供商下载扇区文件并自行完成扇区续期。

```
lotus-miner sectors extend --extension=518400 --really-do-it=true --drop-claims=true --sector-file=[sector_file]
```

**The extension days:**

| Days | Epoch   |
| ---- | ------- |
| 180  | 518400  |
| 360  | 1036800 |
| 540  | 1555200 |


---

# Agent Instructions: 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://docs-cn.filswan.com/filswan-platform/core-modules/datacap-ding-dan-xu-qi-fu-wu.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.
