Aggregators

DEX Aggregators Integration

Overview

This module enables efficient token swaps on decentralized exchanges by integrating multiple DEX aggregators. It optimizes trading routes and provides the best possible rates across various liquidity sources.

Core Components

Supported Aggregators

  • KyberSwap

  • 0x Protocol

  • OpenOcean

  • Odos

Swap Functionality

  • Token Swaps:

    • Execute trades with optimal routing

    • Support for multiple input/output tokens

    • Automatic best price discovery

    • Full or partial balance swaps

    • Cross-chain compatibility

Features

  • Optimal trade routing across multiple DEXs

  • Best price execution through aggregator comparison

  • Support for multiple blockchain networks

  • Automatic slippage protection

  • Gas-optimized transactions

  • Flexible amount specification (exact amounts or entire balance)

  • Comprehensive error handling

  • Gas estimation and optimization

Chain Support

  • Multiple blockchain networks supported

  • Cross-chain trading capabilities

  • Network-specific optimizations

Last updated