adriaparcerisasflowmaps inscriptions 2
Updated 2024-04-03
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
data as (
select
tx_id,block_timestamp,
event_data:id as id,
event_data:to as account
from flow.core.fact_events
where event_contract='A.483f0fe77f0d59fb.Flowmap'
and event_type='Deposit'
),
data2 as (
select
distinct event_data:to as user,
min(block_timestamp) as debut
from flow.core.fact_events
where event_contract='A.483f0fe77f0d59fb.Flowmap'
and event_type='Deposit'
group by 1
)
select
date_trunc ('day',x.block_timestamp) as date,
count(distinct id) as flowmap_inscriptions,
sum(flowmap_inscriptions) over (order by date) as total_flowmap_inscriptions,
count(distinct account) as active_wallets,
count(distinct z.user) as new_wallets,
sum(new_wallets) over (order by date) as total_unique_wallets,
flowmap_inscriptions*0.025 as volume,
total_flowmap_inscriptions*0.025 as total_volume
from data x
join data2 z on date_trunc ('day',x.block_timestamp)=date_trunc ('day',debut)
group by 1 order by 1 asc
QueryRunArchived: QueryRun has been archived