Afonso_DiazTransaction Volume Distribution
Updated 2025-04-09
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
›
⌄
with main as (
select
tx_hash,
block_timestamp,
to_address as user,
amount,
amount_usd
from ronin.core.ez_token_transfers
where origin_to_address = '0x0cf8ff40a508bdbc39fbe1bb679dcba64e65c7df'
),
classified as (
select
tx_hash,
user,
amount,
amount_usd,
case
when amount_usd < 100 then 'Small (< $100)'
when amount_usd between 100 and 1000 then 'Medium ($100-$1000)'
else 'Large (> $1000)'
end as category
from main
)
select
category,
count(tx_hash) as tx_count,
sum(amount) as total_amount,
sum(amount_usd) as total_amount_usd
from classified
group by category
order by total_amount_usd desc;
QueryRunArchived: QueryRun has been archived