LordkingZ11
Updated 2022-09-18Copy 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
›
⌄
with a as (select
BLOCK_TIMESTAMP,
TX_HASH ,
SELLER_ADDRESS as seller ,
BUYER_ADDRESS as buyer ,
NFT_ADDRESS as CONTRACT_ADDRESS,
TOKENID as token_id ,
CURRENCY_SYMBOL ,
PRICE as volume
from optimism.core.ez_nft_sales
where EVENT_TYPE='sale' and PLATFORM_NAME =('quixotic') )
select
distinct CONTRACT_ADDRESS,
count(distinct TX_HASH) as txs ,
count(distinct buyer) as buyers ,
count(distinct seller) as sellers ,
count(distinct token_id) as token_id ,
token_id
from a
where CONTRACT_ADDRESS !='0x82af49447d8a07e3bd95bd0d56f35241523fbab1'
group by token_id,CONTRACT_ADDRESS
order by buyers desc limit 10
Run a query to Download Data