rajsAlgorand Additional Comments
Updated 2022-05-17Copy Reference Fork
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 new_wallets as
(
select
address,
-- block_timestamp,
balance
-- date_trunc('hour', block_timestamp) as date
from algorand.account a
left join algorand.block b
on a.created_at = b.block_id
where block_timestamp >= '2022-05-04'
and block_timestamp <= '2022-05-10'
and balance = 0.25
)
-- select
-- count(distinct address)
-- from new_wallets
SELECT
-- *
tx_sender,
count(distinct tx_id)
from algorand.transfers
where receiver in
(
select
address
from new_wallets
)
group by 1
order by 2 desc
-- and asset_sender <> 'XFYAYSEGQIY2J3DCGGXCPXY5FGHSVKM3V4WCNYCLKDLHB7RYDBU233QB5M'
-- and asset_sender <> 'YFB6LN3HTJC4KNBMHUSC7W3OEDHFX2DNSDCOU5LNWW3S4AHXIUWLEM36GA'
-- and tx_type = 'pay'
-- limit 10
Run a query to Download Data