Documentation
    Preparing search index...

    Module @naviprotocol/astros-aggregator-sdk

    Astros Aggregator SDK Package - Main Entry Point

    This package provides DEX aggregation functionality for the Sui blockchain. It aggregates liquidity from multiple decentralized exchanges to provide the best swap rates.

    @naviprotocol/astros-aggregator-sdk

    npm version License: MIT

    The Astros DEX Aggregator is a core part of the NAVI Ecosystem, providing seamless integration for high-performance decentralized trading with optimized execution, security, and a smooth user experience

    For SDK documentation visit http://sdk.naviprotocol.io/swap

    1. High-Performance Trading:
      The Astros DEX Aggregator offers fast and low-latency trading through optimized smart contracts and algorithms, ensuring stable and efficient transactions even during peak trading periods.
    2. Order Splitting:
      For large trades, the Astros DEX Aggregator automatically splits orders across multiple liquidity pools, helping users achieve the best prices for their transactions.
    3. Multi-Hop Trading:
      To further optimize trading costs and liquidity, the aggregator supports multi-hop trades, finding the best transaction paths across multiple routes to maximize value for users.
    4. Security and Reliability:
      Security is Astros's top priority. The DEX Aggregator employs multi-layered security protocols to ensure user funds are safe and trades execute smoothly.
    5. Zero Fee:
      The Astros DEX Aggregator charges no fees, providing users with a cost-effective and seamless trading experience.
    6. Performance:
      Built to meet the demands of high-volume trading, the Astros DEX Aggregator operates on powerful, redundant servers capable of horizontal scaling. This infrastructure allows us to seamlessly handle increasing traffic and growing trading activity without compromising speed or efficiency.
    • Aftermath
    • Bluefin
    • Cetus
    • DeepBook V3
    • Magma
    • Momentum
    • Turbos
    • Flow X (Upcoming)
    npm install @naviprotocol/astros-aggregator-sdk
    

    Enumerations

    Dex

    Type Aliases

    FeeOption
    Quote
    SwapOptions

    Variables

    AggregatorConfig

    Functions

    buildSwapPTBFromQuote
    checkIfNAVIIntegrated
    executeTransaction
    generateRefId
    getCoinPTB
    getCoins
    getQuote
    getQuoteInternal
    swapPTB
    updateConfig