HOLDERS | TOTAL_TOKENS | MARKETCAP | |
---|---|---|---|
1 | 29158 | 1100000000 | 44737 |
freemartianTotal Holder
Updated 2025-03-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
current_price AS (
SELECT
hour, symbol, price, rank() over(ORDER BY hour DESC) AS rank
FROM base.price.ez_prices_hourly
WHERE token_address = '0x0521aaa7c96e25afee79fdd4f1bb48f008ae4eac'
qualify rank = 1
),
token_in_out AS(
SELECT
to_address AS user,
SUM(amount) AS amount,
FROM base.core.ez_token_transfers
WHERE contract_address = '0x0521aaa7c96e25afee79fdd4f1bb48f008ae4eac'
GROUP BY 1
UNION ALL
SELECT
from_address AS user,
SUM(-amount) AS amount,
FROM base.core.ez_token_transfers
WHERE contract_address = '0x0521aaa7c96e25afee79fdd4f1bb48f008ae4eac'
GROUP BY 1
),
final as (
SELECT
user,
sum(amount) AS current_ballance
FROM token_in_out
GROUP BY 1
)
SELECT
count(user) as holders, SUM(current_ballance) AS total_tokens,
SUM(current_ballance * price) AS Marketcap
Last run: 21 days agoAuto-refreshes every 1 hour
1
26B
846s