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

# Batch Swap via DEX Aggregator

> Step-by-step guide to executing batch swaps through DZap's DEX aggregator

## Overview

Batch Swap lets you exchange one token into multiple tokens (or multiple tokens into one) in a single transaction using DZap's DEX aggregator.

## Steps

**1. Connect Wallet**

Navigate to [app.dzap.io](https://app.dzap.io) and connect your wallet. DZap supports MetaMask, WalletConnect, Frontier, and Trust Wallet.

**2. Select Network**

Choose your desired blockchain network from the network selector.

**3. Open Batch Swap**

Click **Batch Swap** from the left sidebar navigation.

**4. Choose Swap Type**

Select your swap direction:

* **Batch Buy** - One token to many (one-to-many)
* **Batch Sell** - Many tokens to one (many-to-one)

**5. Select Source Token**

In the **You Pay** section, select the token you want to exchange.

**6. Select Target Tokens**

Choose multiple tokens you want to acquire (e.g., UNI, AAVE, MATIC). Set the desired allocation for each.

**7. Review Routes**

DZap displays the best routes chosen for you, aggregating across various DEXs and DEX aggregators for optimal execution.

**8. Review Transaction**

Click **Review** to examine the full transaction details, including rates, fees, and estimated output.

**9. Execute**

Click **Approve and Swap** to authorize and complete all token exchanges in a single transaction.

> [!TIP]
>
> Batch Swap is ideal for portfolio diversification - acquire multiple tokens in one transaction instead of executing separate swaps.


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