HosseinMonthly Solana
Updated 2022-09-13Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
›
⌄
select
date_trunc('month', block_timestamp) as month,
count(distinct(tx_id)) as number_of_mint,
sum(mint_price) as mint_amount,
count(distinct (purchaser)) as purchaser_num,
(number_of_mint / purchaser_num) as avg_mint_of_buyer,
(number_of_mint / datediff(day, current_date - interval '{{ months }} month', current_date)) as avg_number_of_mint,
(mint_amount / datediff(day, current_date - interval '{{ months }} month', current_date)) as avg_mint_amount
from solana.core.ez_nft_mints
where block_timestamp::date >= current_date - interval '{{ months }} month'
and succeeded = 1
group by month
order by month asc
Run a query to Download Data