thea[Blur Mega] Marketplace Comparison - Daily
Updated 2023-03-15Copy 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
›
⌄
with tx as (
select to_date(date_trunc('day', block_timestamp)) as block_date,
platform_name,
count(distinct tx_hash) as transaction_counts,
sum(price_usd) as transaction_volumes
from ethereum.core.ez_nft_sales
where block_timestamp > '2022-10-19'
and price_usd is not null
group by 1, 2
),
trader as (
select to_date(date_trunc('day', block_timestamp)) as block_date,
platform_name,
count(distinct wallets) as traders
from (
select block_timestamp,
platform_name,
buyer_address as wallets
from ethereum.core.ez_nft_sales
where block_timestamp > '2022-10-19'
and price_usd is not null
union all
select block_timestamp,
platform_name,
seller_address as wallets
from ethereum.core.ez_nft_sales
where block_timestamp > '2022-10-19'
and price_usd is not null
)
group by 1, 2
),
agg as (
select tx.block_date,
sum(tx.transaction_counts) as transaction_counts,
sum(tx.transaction_volumes) as transaction_volumes,
sum(trader.traders) as traders
Run a query to Download Data