binhachon1M New Algorand Wallets In May - #2
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
30
31
32
33
34
35
36
›
⌄
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
),
swap_transactions as (
select
block_timestamp,
swapper,
swap_from_asset_id,
swap_from_amount,
swap_to_asset_id,
swap_to_amount
from flipside_prod_db.algorand.swaps
where block_timestamp::date >= '2022-05-04'
and block_timestamp::date <= '2022-05-10'
and swapper in (select address from wallet_balance)
)
select
Run a query to Download Data