This table is a cross-chain table but can be filtered for sei transactions.

Table Description

The dex_aggregator.trades table captures high-level data on trades executed via decentralized exchange (DEX) aggregators. These aggregators aggregate liquidity from multiple DEXs to provide users with the best possible trade execution. Unlike the dex.trades table, which records each intermediary step of a trade, dex_aggregator.trades condenses the trade data to reflect the user's intended trade, presenting it as a single entry.

Functional Overview

Users can expect the dex_aggregator.trades table to provide a high-level view of DEX trades facilitated by aggregators. This table simplifies trade records by showing a single entry for trades that may involve multiple DEXs and liquidity pools. For instance, a user might initiate a trade to swap USDC for PEPE via a DEX aggregator. The aggregator might route this trade through several liquidity pools such as WETH-USDC and WETH-PEPE, but dex_aggregator.trades will record it as a single USDC → PEPE trade.

Complimentary to dex_aggregator.trades is the dex.trades table, where detailed trade executions are recorded. This table captures the granular steps of each trade, including interactions with different liquidity pools. The volume routed through aggregators is also recorded in the dex.trades table. One row in dex_aggregator.trades corresponds to one or more rows in dex.trades, providing a comprehensive view of the detailed execution path that aggregated trades take.

Coverage

The following table shows which projects and versions of those projects are covered in the dex.trades table on sei.

Column Descriptions

Datatypes on Snowflake datashare are different in some cases, read more here.

Table Sample