Afonso_DiazTop Sellers
Updated 2025-05-05
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
pricet as (
select
hour::date as date,
avg(price) as token_price_usd
from
sei.price.ez_prices_hourly
where
token_address = 'usei'
group by 1
),
main as (
select
tx_hash,
block_timestamp,
-- Determine NFT collection address
iff(
decoded_log:consideration[0]:token != '0x0000000000000000000000000000000000000000',
decoded_log:consideration[0]:token,
decoded_log:offer[0]:token
) as collection_address,
-- Determine buyer and seller addresses
iff(
collection_address = '0x0000000000000000000000000000000000000000',
origin_from_address,
decoded_log:consideration[0]:recipient
) as buyer_address,
iff(
collection_address != '0x0000000000000000000000000000000000000000',
origin_from_address,
decoded_log:consideration[0]:recipient
QueryRunArchived: QueryRun has been archived