# 自动合并硬币

FIX钱包有一项功能，可以让你在收到区块奖励时自动合并，钱包会检查每个钱包地址里的碎币，并自动将它们合并在一起，直到超过设定值。

**点击“** ***工具>调试控制台*** **”** 输入 \
\&#xNAN;**`autocombinerewards true x`**

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LYvndWBvrmJxi5m4Vyp%2F-LgM3vU3iwlX-1yWgQ00%2F-LgM3ybz7gjUeu6arcN7%2F14w.png?alt=media\&token=eeb6a105-7e6f-4c4a-abf6-e1ed7e5defc3)

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LYvndWBvrmJxi5m4Vyp%2F-LgM3vU3iwlX-1yWgQ00%2F-LgM4-ZHj33Q4XNtFXt_%2F15.PNG?alt=media\&token=ba165ff0-a5f1-4850-a730-779214e85c8f)

**或者**

**点击“*****工具>打开钱包配置文件*****”** 在fix.conf文件中添加 **`autocombinerewards=x`**

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LYvndWBvrmJxi5m4Vyp%2F-LgM3vU3iwlX-1yWgQ00%2F-LgM50P7SP8P2zPoh6XU%2F16w.png?alt=media\&token=61ebf736-4e09-4a92-b44a-d26298be75e1)

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LYvndWBvrmJxi5m4Vyp%2F-LgM3vU3iwlX-1yWgQ00%2F-LgM537HKQysJvilfo-w%2F17.PNG?alt=media\&token=7fecaadc-d274-45cf-acbb-fb3226a23efe)

这将启用该自动合并功能（更改fix.conf文件后必须重新启动钱包才能生效）。 钱包将定期检察每个地址中的“碎币”，并将它们合并成你想要的硬币数量。

**`autocombinerewards true x`** 这命令会自动将你收到的所有stake / masternode奖励合并到一个input中，x是你指定每个input的最大金额。\
如果你希望每个input大小为10000 FIX，那么你需要在调试控制台中输入该命令，如下所示：**`autocombinerewards true 10000`**\
然后任何小于10000 FIX的input将被合并到新input中，直到超过你的x设定值；超过该值后，其他碎币将从另一个input开始合并，另外此功能必须解锁钱包才能生效。&#x20;

![使用该功能前](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LYvndWBvrmJxi5m4Vyp%2F-LgMo4GMsI4yNHsad6zP%2F-LgMo95VfahvF2IFuP7r%2F18.PNG?alt=media\&token=d0b35086-9b20-4945-9e18-8d3790e09497)

![自动合并后](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LYvndWBvrmJxi5m4Vyp%2F-LgMpz4pi0Nfu1Su84fa%2F-LgMqJHk3M63KzRwD2iz%2F27.PNG?alt=media\&token=de03810c-81d3-4174-9120-7d2eb2ac001e)

这功能可以避免发送交易时，你钱包的transaction过大，且不必每天手动整理你的区块奖励。

需要注意的一点，自动合并会产生交易费用，因此每次收到stake / masternode奖励，合并汇入时都会产生小额交易费用。

![合并时会产生小额交易费用](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LYvndWBvrmJxi5m4Vyp%2F-LgMo4GMsI4yNHsad6zP%2F-LgMoG_8pdaAT_RQWydb%2F20.PNG?alt=media\&token=8dfab11d-8b4b-4e8a-8da3-ac91c89d22ab)

你也可以同时使用这2个命令 **`autocombinerewards`** &#x548C;**`setstakesplitthreshold`**&#x6765;自动化整理input大小。 \
例如：\
\&#xNAN;**`autocombinerewards true 5000`** &#x548C;**`stakesplitthreshold 10000`**\
这命令会自动将你5000以下的FIX input都合并到一起，直到超过5000 FIX；但input超过20000 FIX后，它们将被分成两个单独的input，此功能也必须解锁钱包才能生效。


---

# 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.fix.network/zhong-wen/fix-qian-bao/zi-dong-he-bing-ying-bi.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.
