binhachon1M New Algorand Wallets In May - #1
Updated 2022-05-19
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
›
⌄
with min_block as (
select
min(block_id) as min_block
from flipside_prod_db.algorand.block
where block_timestamp::date = '2022-05-04'
),
max_block as (
select
max(block_id) as max_block
from flipside_prod_db.algorand.block
where block_timestamp::date = '2022-05-10'
),
wallet_balance as (
select
address,
balance
from flipside_prod_db.algorand.account
left join min_block
left join max_block
where created_at >= min_block
and created_at <= max_block
)
select
floor(balance, -2)::string as rounded_balance,
count(*) as frequency,
sum(frequency) over () as total_wallets,
100 * ratio_to_report(frequency) over () as perc
from wallet_balance
group by 1
Run a query to Download Data