Abolfazl_771025market cap :total
Updated 2023-01-13
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
›
⌄
select
'PAXG' AS token,
sum(current_bal) as total_supply,
sum(current_bal* price) as market_cap
from ethereum.core.ez_current_balances a join ethereum.core.fact_hourly_token_prices b on a.CONTRACT_ADDRESS = B.TOKEN_ADDRESS and a.LAST_ACTIVITY_BLOCK_TIMESTAMP::date = b.hour::date
where CONTRACT_ADDRESS='0x45804880de22913dafe09f4980848ece6ecbaf78'
group by 1
union
select
'XAUt' AS token,
sum(current_bal) as total_supply,
sum(current_bal* price) as market_cap
from ethereum.core.ez_current_balances a join ethereum.core.fact_hourly_token_prices b on a.CONTRACT_ADDRESS = B.TOKEN_ADDRESS and a.LAST_ACTIVITY_BLOCK_TIMESTAMP::date = b.hour::date
where CONTRACT_ADDRESS='0x68749665ff8d2d112fa859aa293f07a622782f38'
group by 1
Run a query to Download Data