binhachonSwap Profiles In May & June - #4
Updated 2022-07-07
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
›
⌄
with swapper as (
select
swapper,
count(distinct tx_group_id) as freq
from flipside_prod_db.algorand.swaps
where block_timestamp::date >= '2022-05-01'
and block_timestamp::date < '2022-07-01'
group by 1
),
ALGO_balance as (
select
address,
created_at,
block_timestamp
from flipside_prod_db.algorand.account
left join flipside_prod_db.algorand.block on (block_id = created_at)
where address in (select swapper from swapper)
)
select
date_trunc('month', block_timestamp) as time,
count(*) as number_of_swappers
from ALGO_balance
group by 1
Run a query to Download Data