misaghlbUSDC Declining on Solana?
Updated 2022-10-07
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
›
⌄
SELECT name, sum(vol) as tvol,
row_number() over (order by tvol DESC) as r
from (
select case when lb.address_name is null then TX_FROM else lb.address_name end as name, sum(AMOUNT) * -1 as vol
from solana.core.fact_transfers tr
left join solana.core.dim_labels lb on tr.TX_FROM = lb.ADDRESS
where BLOCK_TIMESTAMP >= current_date - 60
and mint = 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'
group by name
UNION ALL
select case when lb.address_name is null then TX_TO else lb.address_name end as name, sum(AMOUNT) as vol
from solana.core.fact_transfers tr
left join solana.core.dim_labels lb on tr.TX_TO = lb.ADDRESS
where BLOCK_TIMESTAMP >= current_date - 60
and mint = 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'
group by name
)
group by name
order by tvol DESC
limit 20
Run a query to Download Data