sepehrmhz8Untitled Query
Updated 2022-12-18
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
›
⌄
select 'Flow' as Net,
date_trunc('month',block_timestamp) as date,
count (distinct proposer) as Users,
count (distinct tx_id) as Txs,
(Txs / Users) as Txs_Ratio
from flow.core.fact_transactions
where date >= '2022-06-01'
group by 1,2
union all
select 'Ethereum' as Net,
date_trunc('month',block_timestamp) as date,
count (distinct from_address) as Users,
count (distinct tx_hash) as Txs,
(Txs / Users) as Txs_Ratio
from ethereum.core.fact_transactions
where date >= '2022-06-01'
group by 1,2
union all
select 'Polygon' as Net,
date_trunc('month',block_timestamp) as date,
count (distinct from_address) as Users,
count (distinct tx_hash) as Txs,
(Txs / Users) as Txs_Ratio
from polygon.core.fact_transactions
where date >= '2022-06-01'
group by 1,2
union all
select 'Algorand' as Net,
date_trunc('month',block_timestamp) as date,
count (distinct tx_sender) as Users,
Run a query to Download Data