mmdrezadaily hyper vs coral
Updated 2022-10-29Copy Reference Fork
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
›
⌄
with hyperspace as (
select 'Hyperspace' as platform,
date_trunc('day',block_timestamp) as date,
count(distinct tx_id) as sales_count,
count(distinct purchaser) as buyers_count,
count(distinct seller) as sellers_count,
count(distinct mint) as mint_count,
sum(sales_amount) as sol_volume,
avg(sales_amount) as avg_sol_volume
from solana.core.fact_nft_sales
where marketplace = 'hyperspace'
and succeeded = 'TRUE'
group by 1,2),
coral_cube as (
select 'Coral Cube' as platform,
date_trunc('day',block_timestamp) as date,
count(distinct tx_id) as sales_count,
count(distinct purchaser) as buyers_count,
count(distinct seller) as sellers_count,
count(distinct mint) as mint_count,
sum(sales_amount) as sokl_volume,
avg(sales_amount) as avg_sol_volume
from solana.core.fact_nft_sales
where marketplace = 'coral cube'
and succeeded = 'TRUE'
group by 1,2)
select * from hyperspace
union all
select * from coral_cube
Run a query to Download Data