Moeflow_cont tot 3
Updated 2023-03-25
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 raw as (select
EVENT_CONTRACT ,
min (block_timestamp)::date as first_use
from
flow.core.fact_events
group by 1) ,
new_contracts as (
select
distinct EVENT_CONTRACT
from
raw
)
select
count(distinct tx_id) as number_of_tx,
count(distinct proposer) as users,
number_of_tx /users as tx_per_user
from flow.core.fact_transactions tx inner join flow.core.fact_events e using (tx_id)
where EVENT_CONTRACT in (select * from new_contracts)
Run a query to Download Data