mattkstewNYR NFTs 5
Updated 2023-01-14Copy 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
›
⌄
with tab1 as (
select
token_id as t1,
avg(sales_amount/power(10,6)) as Sales_Price
from terra.core.fact_nft_sales
group by 1
)
, tab2 as (
select
token_id as t2,
avg(mint_price/power(10,6)) as Mint_Price
from terra.core.fact_nft_mints
group by 1
)
select
--mint_price,
--sales_price,
avg((abs(sales_price-mint_price))/mint_price) * 100
from tab1 left outer join tab2 on t1 = t2
Run a query to Download Data