nsa2000dex5
Updated 2022-12-22Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
›
⌄
--credit to Abbas_ra21
with tb AS (select
distinct tx_hash,
BLOCK_TIMESTAMP,
TX_FEE,
NFT_TO_ADDRESS,
NFT_Address
from ethereum.core.ez_nft_mints where EVENT_TYPE='nft_mint')
select
date_trunc('month',BLOCK_TIMESTAMP) AS MONTH,
sum(TX_FEE) AS "Fee amount",
Avg(TX_FEE) AS "Average Fee amount"
from tb where BLOCK_TIMESTAMP >= '2022-01-01'
group by 1
Run a query to Download Data