omer93sei mutants 2nd sales 2
Updated 2024-10-17
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
›
⌄
with
info as (
SELECT
tx_id,block_timestamp, token_id,
SELLER_ADDRESS,
AMOUNT as sei_price,
BUYER_ADDRESS,
NFT_ADDRESS as collection
FROM
sei.nft.ez_nft_sales
where block_timestamp>'2024-03-15'
and NFT_ADDRESS='sei1nvws3wyx6dvzjnh5g4cp7g33v6wxjf2m725w7cfaeywxaf26wdsqfv04ca'
)
select
trunc(block_timestamp,'day') as time,
--count(distinct tx_id) as sales,
count(distinct token_id) as sales,
count(distinct BUYER_ADDRESS) as buyers,
count(distinct SELLER_ADDRESS) as sellers,
sum(sei_price) as sei_volume,
avg(sei_price) as avg_nft_price,
max(sei_price) as max_nft_price,
count(distinct collection) as total_collections
from info group by 1 order by 1 asc
QueryRunArchived: QueryRun has been archived