SalehAXL-sat- Complete routing statistics-single
Updated 2024-06-04
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
›
⌄
with lst_price as (
select
date(hour::date) as day
,symbol
,avg(price) as avg_price
from crosschain.price.ez_hourly_token_prices
group by 1,2
)
select
-- amount*avg_price as tt
-- ,*
token_symbol
,count(DISTINCT tx_hash) as transactions
,count(sender) as wallets
,sum(amount*avg_price) as amount_usd
,avg(amount*avg_price) as avg_usd_volume
from axelar.defi.ez_bridge_satellite
join lst_price on symbol = token_symbol
and block_timestamp::date = day
-- and ( SOURCE_CHAIN='axelar' or DESTINATION_CHAIN = 'axelar')
-- where token_symbol = 'LUNA'
group by 1
order by amount_usd desc
-- where token_symbol in('USDC.axl','UST','LUNA','axlUSDC','USDC','ETH','AXL','BNB','MATIC')
QueryRunArchived: QueryRun has been archived