saeedmzn[Trending NFT collcetions on FLOW! (2023)] Distribution
Updated 2023-11-13
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
›
⌄
-- forked from [Trending NFT collcetions on FLOW! (2023)] Top 5 by num buyers @ https://flipsidecrypto.xyz/edit/queries/64c2b4e7-e6b4-4159-aac2-234d8a38c7ac
with prices as (
select date_trunc(day,TIMESTAMP) date ,
TOKEN_CONTRACT ,
SYMBOL,
avg(PRICE_USD) USD
from flow.price.fact_prices
where TIMESTAMP::date >= '2023-01-01'
group by 1 ,2,3
UNION
select date_trunc(day,TIMESTAMP) date ,
'A.ead892083b3e2c6c.DapperUtilityCoin' TOKEN_CONTRACT ,
SYMBOL,
avg(PRICE_USD) USD
from flow.price.fact_prices
where TIMESTAMP::date >= '2023-01-01'
and TOKEN_CONTRACT ='A.b19436aae4d94622.FiatToken'
group by 1 ,2,3
UNION
select date_trunc(day,TIMESTAMP) date ,
'A.ead892083b3e2c6c.FlowUtilityToken' TOKEN_CONTRACT ,
SYMBOL,
avg(PRICE_USD) USD
from flow.price.fact_prices
where TIMESTAMP::date >= '2023-01-01'
and TOKEN_CONTRACT ='A.1654653399040a61.FlowToken'
group by 1 ,2,3
UNION
select date_trunc(day,TIMESTAMP) date ,
'A.011b6f1425389550.NWayUtilityCoin' TOKEN_CONTRACT ,
'USDC' SYMBOL,
1 USD
from flow.price.fact_prices
where TIMESTAMP::date >= '2023-01-01'
group by 1 ,2,3
Run a query to Download Data