Afonso_DiazTop users
Updated 2025-06-09Copy Reference Fork
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 dt,
avg(price) as token_price_usd
from
avalanche.price.ez_prices_hourly
where
symbol = 'AVAX'
group by 1
),
main as (
select
tx_hash,
block_timestamp,
origin_from_address as user,
decoded_log:assets / 1e18 as amount_avax,
decoded_log:shares / 1e18 as amount_ggavax,
'Mint' as event_name
from avalanche.core.ez_decoded_event_logs
where
origin_to_address = '0xa25eaf2906fa1a3a13edac9b9657108af7b703e3'
and event_name = 'Deposit'
and tx_succeeded = True
and amount_ggavax > 0
and block_timestamp >= '2024-01-01'
and block_timestamp < '2026-01-01'
-- union all
-- select
-- tx_hash,
-- block_timestamp,
-- origin_from_address as user,
QueryRunArchived: QueryRun has been archived