Query editor
1SELECT 2 token_pair,3 COUNT(DISTINCT tx_hash) AS number_of_swaps4FROM dex.trades5WHERE lower(project) LIKE 'uniswap%'6GROUP BY blockchain, token_pair7ORDER BY number_of_swaps DESC8LIMIT 50
SELECT
token_pair,
COUNT(DISTINCT tx_hash) AS number_of_swaps
FROM dex.trades
WHERE lower(project) LIKE 'uniswap%'
GROUP BY blockchain, token_pair
ORDER BY number_of_swaps DESC
LIMIT 50