Skip to main content
DEX sector fees at atomic (swap) grain: one row per dex.trades row for every protocol registered in the revenue registry, carrying the fee paid on that swap and its protocol-revenue vs supply-side split. fee_usd is the swap’s usd_amount multiplied by the pool fee tier, where the tier comes from the pool creation event and the fee scale comes from the registry-pinned factory. revenue_usd is fee_usd multiplied by the take rate from the revenue registry. unique_id passes through 1:1 from dex.trades, so rows join back to the trade that produced them.
A take_rate of 0 is a confirmed zero protocol share, distinct from NULL, which means unconfirmed. Revenue null-propagates rather than defaulting to 0, and swaps whose pool is missing from the registry-pinned factories carry NULL fee_usd rather than a fabricated zero.

Table Columns