Skip to main content
The dex.orderflowtable provides transaction-level swap data to illustrate DEX transaction volumes through frontends.

Table Details

Data Lineage

The dex.orderflow model builds upon swap events identified from both dex.trades and dex.aggregator_trades, aggregated by transaction hash. Swaps executed by DEX pools are aggregated in the liquidity_details column, and swaps routed through aggregators are wrapped in aggregator_details.

Frontend Labeling

The orderflow model uses both contract interactions and the integrator field in dex.aggregator_trades to identify the most probable frontend where the transaction was executed. Users can use dex.unhydrated_orderflow to tune their own labeling logic.

Sample Query

Methodology

Table Columns