SYMBOL_OUT | VOLUME_USD | AVERAGE_AMOUNT_USD | |
---|---|---|---|
1 | APT | 35344035.7729759 | 612.410302237 |
2 | amAPT | 18527414.0985487 | 1424.637762287 |
3 | stAPT | 13100960.8476617 | 1522.836318454 |
4 | USDC | 4744545.67615264 | 654.059232996 |
5 | USDT | 1827327.85892381 | 319.574651788 |
6 | sthAPT | 285690.433766342 | 5713.808675327 |
7 | WETH | 225975.638374025 | 647.494665828 |
8 | MOD | 136705.242868167 | 36.117633519 |
9 | THL | 12900.964204809 | 132.999630977 |
10 | WBTC | 9500.451983021 | 74.222281117 |
Afonso_DiazTop symbol out
Updated 2025-05-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
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with
pricet as (
select
hour::date as date,
token_address,
avg(price) as token_price_usd
from
aptos.price.ez_prices_hourly
group by 1, 2
),
main as (
select
tx_hash,
block_timestamp,
sender as swapper,
event_data:amount_in::bigint / pow(10, token_in.decimals) as amount_in,
event_data:amount_out::bigint / pow(10, token_out.decimals) as amount_out,
event_data:in_coin as token_in_address,
event_data:out_coin as token_out_address,
token_in.symbol as symbol_in,
token_out.symbol as symbol_out
from
aptos.core.fact_transactions a
join
aptos.core.fact_events b
left join
aptos.core.dim_tokens token_in on event_data:in_coin = token_in.token_address
left join
aptos.core.dim_tokens token_out on event_data:out_coin = token_out.token_address
using (tx_hash)
where
success
and a.payload_function = '0x5d19daf9e0e9270cb7946fb29cd3b515837199564730f84605df76005e8f954f::router::swap_exact_in'
and b.event_type = '0x5d19daf9e0e9270cb7946fb29cd3b515837199564730f84605df76005e8f954f::router::Swap'
Last run: 23 days ago
10
400B
92s