AVG_TX_COUNT | AVG_USER_COUNT | AVG_TOTAL_FEES | |
---|---|---|---|
1 | 242807.195876 | 235770.072165 | 326.853572287 |
elsinaAvg daily activity
Updated 12 hours ago
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 base as (
SELECT
e.block_timestamp,
e.origin_from_address,
e.tx_hash,
tx_fee,
from
ronin.core.fact_event_logs e
left join ronin.core.fact_transactions t on e.tx_hash = t.tx_hash
where
e.tx_succeeded = TRUE
and origin_to_address in (
'0xb806028b6ebc35926442770a8a8a7aeab6e2ce5c',
'0x02790f32ad7e7eaaecfb0ad21950829932f1a2ee',
'0x7eae20d11ef8c779433eb24503def900b9d28ad7',
'0x1b918543b518e34902e1e8dd76052bee43c762ff'
)
),
daily as (
SELECT
date_trunc('day', block_timestamp) as date,
count(DISTINCT origin_from_address) as user_count,
count(DISTINCT tx_hash) as tx_count,
sum(tx_fee) as total_fees
from base
group by 1
)
select
avg(tx_count) as avg_tx_count,
avg(user_count) as avg_user_count,
avg(total_fees) as avg_total_fees
from daily
where date >= '2025-01-01'
Last run: about 12 hours ago
1
45B
9s