andurilUntitled Query
Updated 2022-08-19Copy 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
33
34
35
36
›
⌄
/*
SELECT
PROJECT_NAME,
COUNT (DISTINCT tx_hash) as unique_mint_txs,
COUNT (DISTINCT NFT_TO_ADDRESS) as unique_addresses,
SUM (MINT_PRICE_ETH) as eth_spent,
SUM (MINT_PRICE_USD) as usd_spent,
SUM (TX_FEE) as gas,
count (tOKENID) as mints_count
FROM ethereum.core.ez_nft_mints
--COUNT (DISTINCT tx_hash) as mints
where BLOCK_TIMESTAMP::DATE between '2022-08-11' AND '2022-08-18'
AND project_name IS NOT NULL
group by 1
--HAVING eth_spent BETWEEN 0 and 1000
order by 7 DESC
with launch_date as (
select
min(block_timestamp) as first_tx_date,
project_name
FROM ethereum.core.ez_nft_mints
group by project_name
--where date(block_timestamp) between '2022-08-11' AND '2022-08-18'
),
new_projects as (
select
project_name
from launch_date
where
first_tx_date between '2022-08-11' AND '2022-08-18'
)
Run a query to Download Data