JhanlycnTop Pairs Monthly
Updated 2023-05-14
99
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
›
⌄
WITH
first_swaps AS (
SELECT
sender AS address,
MIN(DATE_TRUNC('month', BLOCK_TIMESTAMP)) AS first_swap_month
FROM
ethereum.uniswapv3.ez_swaps
GROUP BY
sender
UNION
SELECT
recipient AS address,
MIN(DATE_TRUNC('month', BLOCK_TIMESTAMP)) AS first_swap_month
FROM
ethereum.uniswapv3.ez_swaps
GROUP BY
recipient
),
new_swappers AS (
SELECT
address,
first_swap_month
FROM
first_swaps
WHERE
first_swap_month >= DATEADD('month', -12, CURRENT_DATE())
),
pair_swaps AS (
SELECT
DATE_TRUNC('month', BLOCK_TIMESTAMP) AS month,
CONCAT(TOKEN0_SYMBOL, '/', TOKEN1_SYMBOL) AS pair,
COUNT(*) AS pair_amount
FROM
ethereum.uniswapv3.ez_swaps
WHERE
(
Run a query to Download Data