Query editor
1SELECT2 COUNT(DISTINCT tx_hash) AS total_swaps,3 COUNT(DISTINCT tx_from) AS total_unique_swappers,4 SUM(amount_usd) AS total_swap_volume_usd,5 AVG(amount_usd) AS average_swap_volume_usd6FROM dex.trades7WHERE project = 'balancer'8
SELECT
COUNT(DISTINCT tx_hash) AS total_swaps,
COUNT(DISTINCT tx_from) AS total_unique_swappers,
SUM(amount_usd) AS total_swap_volume_usd,
AVG(amount_usd) AS average_swap_volume_usd
FROM dex.trades
WHERE project = 'balancer'