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

# 手續費

> 瞭解事件合約交易手續費的計算方式、費率結構和精度規則。

事件合約手續費按每筆成交計算，具體費率可根據市場分類和業務設定確定。

## 手續費計算

動態費率模式下，手續費可按以下公式計算：

```text theme={null}
fee = C × feeRate × p × (1 - p)
```

其中：

* `C`：成交份額數量；
* `feeRate`：對應市場分類的費率參數；
* `p`：結果份額成交價格。

因為公式中包含 `p × (1 - p)`，手續費在價格接近 `0.5` 時較高，在價格接近 `0` 或 `1` 時逐漸降低。

## 預設分類費率

| 市場分類 | Maker / Taker Fee Rate |
| - | -: |
| Crypto | `0.07` |
| Sports | `0.05` |
| Finance | `0.04` |
| Politics | `0.04` |
| Economics | `0.05` |
| Culture | `0.05` |
| Weather | `0.05` |
| Other / General | `0.05` |
| Mentions | `0.04` |
| Tech | `0.04` |
| Geopolitics | `0` |

實際生效費率以對應市場介面或帳戶費率介面回傳值為準。

## 精度

手續費金額保留到 5 位小數，最小計費精度為：

```text theme={null}
0.00001 USDT
```

> [!NOTE]
>
> Builder 或 Broker 的實際費率結構可能根據業務合作方案進行設定，對外展示時應以目前市場和帳戶實際回傳的資料為準。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.