Query editor
1SELECT2COUNT(tx_hash) AS total_swaps,3COUNT(DISTINCT taker) AS unique_swappers,4SUM(amount_usd) AS total_volume_usd,5AVG(amount_usd) AS average_swap_size6FROM dex.trades7WHERE project = 'balancer'8AND blockchain = 'ethereum'
SELECT
COUNT(tx_hash) AS total_swaps,
COUNT(DISTINCT taker) AS unique_swappers,
SUM(amount_usd) AS total_volume_usd,
AVG(amount_usd) AS average_swap_size
FROM dex.trades
WHERE project = 'balancer'
AND blockchain = 'ethereum'