AVG_TX_COUNT | AVG_USER_COUNT | AVG_TOTAL_VOLUME | |
---|---|---|---|
1 | 73560.703704 | 9055.4 | 146268521.523481 |
elsinaAvg daily activity 2025
Updated 2025-05-15
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
block_timestamp,
origin_from_address,
tx_hash,
pool_name,
CASE
WHEN amount_in_usd IS NOT NULL AND amount_out_usd IS NOT NULL THEN (amount_in_usd + amount_out_usd) / 2
ELSE COALESCE(amount_in_usd, amount_out_usd)
END AS amount
from
avalanche.defi.ez_dex_swaps
where
platform = 'pangolin' and
amount_in_usd IS NOT NULL OR amount_out_usd IS NOT NULL
),
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,
count(distinct pool_name) as pool_count,
sum(amount) as total_volume,
avg(amount) as avg_tx_volume
from base
where
block_timestamp::date >= '2025-01-01'
group by 1
)
select
avg(tx_count) as avg_tx_count,
avg(user_count) as avg_user_count,
avg(total_volume) as avg_total_volume
from daily
Last run: 16 days ago
1
40B
2s