> 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/wallets/built-in-wallet/smart-contract-wallets/transaction-batching.md).

# Transaction batching

One of the key advantages of Smart Contract Wallets is their ability to batch multiple actions into a single transaction. Instead of signing and sending several separate transactions, you can group them together and execute everything at once.

***

### Why it matters

Batching transactions brings three major benefits:

1. **Better user experience**

   No more clicking through approval after approval. For example, on Uniswap and other AMM DEXs, swapping a newly bought token usually requires three separate signatures: two approvals plus the swap itself. With goodcryptoX, these are bundled together. You click once — everything happens in one go.

   Under the hood, we also batch Smart Contract Wallet deployment and session key validation, so your very first trade is seamless.
2. **Gas savings**

   Each transaction normally carries repeated overhead. By batching, you eliminate much of that duplication. For example, when combining three separate swaps into one batch, you won’t save 3× the gas — but you can typically cut costs by 30–70% on the second and third swaps. On expensive chains like Ethereum L1, these savings add up quickly.
3. **All-or-nothing execution**

   Batches are atomic: either all included actions succeed, or none do. This ensures consistency for complex trading or DeFi strategies, where partial execution could leave you exposed.

***

### Current and future use cases

Today, we use transaction batching to:

* combine approvals with swaps
* deploy your Smart Contract Wallet and validate session keys seamlessly

Going forward, batching will power advanced features like:

* [SOS bot](/dex-trading-spot/upcoming-functionality/sos-bot.md) — liquidate your whole wallet into stablecoins with one click, or buy everything back just as easily
* [Portfolio rebalancer](/dex-trading-spot/upcoming-functionality/rebalancer-bot.md) bot — fully automated, rule-based portfolio rebalancing.

In both cases, batching makes execution faster, cheaper, and simpler — especially critical on L1 networks like Ethereum.

***

👉 Transaction batching is what makes non-custodial trading on goodcryptoX feel as smooth as using a centralized exchange, while keeping you in full control of your funds.
