BaseHolders Parameters
Updated 2024-09-13
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
a as (
select
nft_to_address as wallets,
'1' as flag
FROM base.nft.ez_nft_transfers
where (nft_address =lower('0xbdb1a8772409a0c5eeb347060cbf4b41dd7b2c62') )
union all
SELECT
nft_from_address as wallets,
'-1' as flag
FROM base.nft.ez_nft_transfers
where (nft_address =lower('0xbdb1a8772409a0c5eeb347060cbf4b41dd7b2c62'))
),
b as (
select wallets , sum(flag) as nfts
from a
group by 1
having nfts > 0
order by 2 desc
)
select
count(distinct wallets) as "Holders" ,
sum(nfts) as "Number of NFTS",
round(avg(nfts),1) as "Average Holding"
from b
QueryRunArchived: QueryRun has been archived