dannyamahTotal Tokens
Updated 2024-09-27
999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
SELECT
blockchain,
COUNT(DISTINCT token_traded) AS total_unique_tokens
FROM (
-- Base chain
SELECT
'Base' AS blockchain,
token_in AS token_traded
FROM base.defi.ez_dex_swaps
WHERE platform ILIKE '%uniswap%'
UNION ALL
SELECT
'Base' AS blockchain,
token_out AS token_traded
FROM base.defi.ez_dex_swaps
WHERE platform ILIKE '%uniswap%'
-- Ethereum chain
UNION ALL
SELECT
'Ethereum' AS blockchain,
token_in AS token_traded
FROM ethereum.defi.ez_dex_swaps
WHERE platform ILIKE '%uniswap%'
UNION ALL
SELECT
'Ethereum' AS blockchain,
token_out AS token_traded
FROM ethereum.defi.ez_dex_swaps
WHERE platform ILIKE '%uniswap%'
-- Optimism chain
QueryRunArchived: QueryRun has been archived