rackhaelUNISWAP MARKETSHARE: BASE
Updated 2024-01-22
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
›
⌄
SELECT --platform,
CASE
WHEN platform ILIKE 'uniswap%' THEN 'Uniswap'
ELSE platform -- Keep other platforms as is
END AS platform,
COUNT(DISTINCT tx_hash) AS transactions,
COUNT(tx_to) AS addresses,
SUM(amount_in_usd) AS transacted_volume_usd
FROM
base.defi.ez_dex_swaps
WHERE
block_timestamp::date >= current_date - 180
GROUP BY
1
ORDER BY
1;
QueryRunArchived: QueryRun has been archived