INPUT_SYMBOL | TOTAL_SWAPS | TOTAL_VOLUME_USD | |
---|---|---|---|
1 | USDC | 34553 | 6489552.37886417 |
2 | USDT | 16196 | 3569448.58391976 |
3 | NEAR | 9906 | 2455994.60751606 |
4 | ZEC | 9587 | 2730309.00565395 |
5 | BTC | 4581 | 2634665.82672828 |
6 | AAVE | 3613 | 13066.803169568 |
7 | XRP | 3031 | |
8 | ETH | 2730 | 1115652.56695988 |
9 | DOGE | 1802 | 17413.946941905 |
10 | SOL | 1731 | 1138867.65408863 |
datavortexbottom-lime
Updated 2025-05-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
34
35
36
›
⌄
WITH sender_transactions as (
select
tx_hash,
block_timestamp,
old_owner_id as sender_address,
amount_raw as sent_amount,
token_id as sent_token
from near.defi.fact_intents
where log_event = 'mt_transfer'
and RECEIPT_SUCCEEDED = TRUE
qualify row_number() over (partition by tx_hash, log_index order by log_event_index desc) = 1
),
swap_details as (
select
tx_hash,
block_timestamp,
sender_address,
sent_amount,
split(sent_token, ':')[1] :: string as input_token
from sender_transactions
),
token_metadata as (
select *
from $query('64f376d0-8a1f-4ccf-8516-cae9c8067b49')
),
adjusted_swaps as (
select
s.tx_hash,
s.block_timestamp,
s.sender_address,
s.input_token,
t.symbol as input_symbol,
s.sent_amount / pow(10, t.decimal) as adjusted_input
from swap_details s,
lateral (select * from token_metadata where token = s.input_token) t
),
Last run: 18 days ago
10
294B
2s