> For the complete documentation index, see [llms.txt](https://smart-tools.gitbook.io/smart-tools-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smart-tools.gitbook.io/smart-tools-docs/liquidity-and-swaps/batch-swap.md).

# Batch Swap

Execute coordinated token swaps across multiple wallets in one seamless operation—powerful for traders, DAOs, and DeFi strategists.

{% hint style="info" %}

### **Why Wait For This Feature?**

* **Multi-wallet trading**: Swap tokens across 10+ wallets simultaneously
* **DEX aggregation**: Best-price routing across Uniswap, SushiSwap & more
* **Custom automation**: Set slippage, intervals, and swap paths
* **Gas optimization**: Batch transactions to reduce costs
  {% endhint %}

***

## **Expected Capabilities**

### **1. Swap Configuration**

* **Token Selection**:
  * From: `[TokenA]`
  * To: `[TokenB]`
* **Swap Parameters**:
  * Slippage tolerance (1-5%)
  * Deadline (minutes)
  * DEX priority (Auto/Uni/Sushi)

### **2. Wallet Management**

**Option A: Manual Entry**

text

```
0xWallet1: Swap 1 ETH → USDC  
0xWallet2: Swap 500 USDT → ETH  
```

**Option B: CSV Upload**

csv

```
wallet_private_key,from_token,to_token,amount  
0xPRIVATE1,WETH,USDC,1.5  
0xPRIVATE2,USDT,ETH,2000  
```

### **3. Execution Control**

* **Delay between swaps**: Prevent frontrunning (e.g., 15-60 sec)
* **Test mode**: Dry-run on testnet before mainnet
* **Gas fee presets**: Low/Medium/High priority

***

### **📈 Anticipated Use Cases**

| Scenario                     | Advantage                                      |
| ---------------------------- | ---------------------------------------------- |
| **DAO Treasury Rebalancing** | Convert holdings across wallets at once        |
| **Arbitrage Strategies**     | Exploit price gaps with multi-wallet execution |
| **Farming Optimization**     | Swap rewards to stablecoins automatically      |
| **Token Migration**          | Batch-convert old tokens to V2/V3              |

***

#### **Pro Tip**

> "For large swaps (>$50k), split transactions across 2-3 DEXs to minimize price impact."\
> – Alpha Tester Feedback


---

# 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://smart-tools.gitbook.io/smart-tools-docs/liquidity-and-swaps/batch-swap.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.
