> For the complete documentation index, see [llms.txt](https://docs.goodcrypto.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goodcrypto.app/goodcryptox-yue/qian-bao/nei-zhi-qian-bao/zhi-neng-he-yue-qian-bao/jiao-yi-pi-ci-chu-li.md).

# 交易批次處理

Smart Contract Wallet 最大優勢之一係可以將多個操作打包成單一交易。你唔需要逐個簽名同發送多個分開交易，可以將佢哋一齊分組，然後一次過執行晒。

***

### 點解重要

交易打包帶來三個主要好處：

1. **更好嘅用戶體驗**

   唔洗再一次又一次點擊批准。例如喺 Uniswap 同其他 AMM DEX，換一個新買嘅代幣通常要三個分開簽名：兩個批准加埋一次 swap。本 goodcryptoX 會將佢哋打包埋一齊。你淨係點一次 — 所有嘢一次過完成。

   喺底層，我哋亦會打包 Smart Contract Wallet 部署同 session key 驗證，所以你第一次交易都好順暢。
2. **節省 Gas**

   每筆交易通常都有重複嘅開銷。透過打包，你可以消除好多重複。例如將三個分開嘅 swap 合併成一個批次，唔會慳到三倍嘅 gas — 但通常可以喺第二同第三個 swap 節省 30–70% 嘅成本。喺 Ethereum L1 等昂貴鏈上，呢啲節省會好快累積。
3. **要麼全部執行要麼全部唔執行**

   批次係原子性：或者所有包含嘅操作都成功，或者全部都唔會。呢樣確保咗複雜交易或 DeFi 策略嘅一致性，避免部分執行令你暴露風險。

***

### 現有同未來用例

而家，我哋用交易打包去：

* 將批准同 swap 合併
* 無縫部署你嘅 Smart Contract Wallet 同驗證 session keys

未來，打包會推動一啲進階功能，例如：

* [SOS 機械人](/goodcryptox-yue/dex-jiao-yi-xian-huo/ji-jiang-tui-chu-gong-neng/sos-ji-xie-ren.md) — 一鍵將你整個錢包清算成穩定幣，或者同樣容易地買返晒全部資產
* [投資組合再平衡器](/goodcryptox-yue/dex-jiao-yi-xian-huo/ji-jiang-tui-chu-gong-neng/zai-ping-heng-ji-xie-ren.md) 機械人 — 完全自動、基於規則嘅投資組合再平衡。

喺兩種情況下，打包令執行更快、更平、更簡單 — 呢啲喺 Ethereum 呢類 L1 網絡尤其重要。

***

👉 交易打包就係令 goodcryptoX 上嘅非託管交易感覺同用中心化交易所一樣順暢嘅原因，同時保持你對資金嘅完全控制。


---

# 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.goodcrypto.app/goodcryptox-yue/qian-bao/nei-zhi-qian-bao/zhi-neng-he-yue-qian-bao/jiao-yi-pi-ci-chu-li.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.
