Sandeshfloor price copy copy
Updated 2023-02-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
›
⌄
-- forked from 4af362d1-69d5-408b-bd82-6bd840069b3a
-- forked from 8d5f6f59-ecd9-490b-bf20-effc0cc19d59
-- forked from self
with floor as
(
(
with nft_sales as
(
select ns.*, dl.contract_name as project from solana.core.fact_nft_sales ns
inner join solana.core.dim_nft_metadata dl
on ns.mint=dl.mint
where ns.block_timestamp::date between '2023-01-24' and current_date
and dl.contract_name in
('Blocksmith Labs','Famous Fox Federation','Okay Bears','Cets On Creck','ABC'
,'DeGods','Solana Monkey Business','SOLGods','Transdimensional Fox Federation'
, 'Degen Apes''Pawnshop Gnomies','Aurory','Catalina Whale Mixer','Underworld'
)
)
select block_timestamp::date as "date", project, min(sales_amount) as floor
from nft_sales
-- where project='ABC'
group by "date",project
)
union
(
select block_timestamp::date as "date", 'underworld' as project , min (sales_amount) as floor from solana.core.fact_nft_sales
where mint in
(select address from solana.core.dim_labels
where address_name='underworld_nft'
)
group by 1,2
)
),
emission as
(select block_timestamp::date as "date",sum(amount) as emission from solana.core.fact_transfers
Run a query to Download Data