FatemeTheLady02 Floavatar Users breakdown components
Updated 2023-06-04
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
buyers as (
select
buyer as user,
count(distinct tx_id) as sales,
-1*sum(price) as volume
from
flow.core.ez_nft_sales
where
nft_collection in ( 'A.921ea449dffec68a.FlovatarComponent' )
and block_timestamp::date < current_date
and block_timestamp::date >= current_date - {{past_days}}
and not buyer is null
group by
1
order by
2 desc
)
,
sellers as (
select
seller as user,
count(distinct tx_id) as sales,
sum(price) as volume
from
flow.core.ez_nft_sales
where
nft_collection in ( 'A.921ea449dffec68a.FlovatarComponent' )
and block_timestamp::date < current_date
and block_timestamp::date >= current_date - {{past_days}}
and not seller is null
group by
1
order by
2 desc
)
Run a query to Download Data