BLOCKCHAIN | DATE | AVG_TX_FEE_USD | DAILY_FEE_RANK | |
---|---|---|---|---|
1 | ethereum | 2025-04-28 00:00:00.000 | 0.1878068508 | 1 |
2 | solana | 2025-04-28 00:00:00.000 | 0.009091925126 | 2 |
3 | near | 2025-04-28 00:00:00.000 | 0.001415449349 | 3 |
4 | aptos | 2025-04-28 00:00:00.000 | 0.0005433701956 | 4 |
5 | ethereum | 2025-04-27 00:00:00.000 | 0.1756996727 | 1 |
6 | solana | 2025-04-27 00:00:00.000 | 0.01107280676 | 2 |
7 | near | 2025-04-27 00:00:00.000 | 0.001690513572 | 3 |
8 | aptos | 2025-04-27 00:00:00.000 | 0.0005137595676 | 4 |
9 | ethereum | 2025-04-26 00:00:00.000 | 0.1794223262 | 1 |
10 | solana | 2025-04-26 00:00:00.000 | 0.01057356767 | 2 |
11 | near | 2025-04-26 00:00:00.000 | 0.001760357368 | 3 |
12 | aptos | 2025-04-26 00:00:00.000 | 0.0005853554317 | 4 |
13 | ethereum | 2025-04-25 00:00:00.000 | 0.258181767 | 1 |
14 | solana | 2025-04-25 00:00:00.000 | 0.01329960457 | 2 |
15 | near | 2025-04-25 00:00:00.000 | 0.001705816205 | 3 |
16 | aptos | 2025-04-25 00:00:00.000 | 0.0008372999539 | 4 |
17 | ethereum | 2025-04-24 00:00:00.000 | 0.4395604339 | 1 |
18 | solana | 2025-04-24 00:00:00.000 | 0.01141653829 | 2 |
19 | near | 2025-04-24 00:00:00.000 | 0.001636547636 | 3 |
20 | aptos | 2025-04-24 00:00:00.000 | 0.0007814340565 | 4 |
aureasarsanedesaptos gas 3.2
Updated 1 day 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 daily_fees AS (
-- Aptos daily fees with price
SELECT
'aptos' as blockchain,
DATE_TRUNC('day', t.block_timestamp) as date,
AVG(t.gas_used * t.gas_unit_price * p.price)/pow(10,8) as avg_tx_fee_usd
FROM aptos.core.fact_transactions t
LEFT JOIN aptos.price.ez_prices_hourly p
ON DATE_TRUNC('hour', t.block_timestamp) = p.hour
AND p.symbol = 'APT'
WHERE t.block_timestamp >= CURRENT_DATE - INTERVAL '{{days}} days'
AND t.success = TRUE
GROUP BY 1, 2
UNION ALL
-- Ethereum daily fees with price
SELECT
'ethereum' as blockchain,
DATE_TRUNC('day', t.block_timestamp) as date,
AVG(t.tx_fee * p.price) as avg_tx_fee_usd
FROM ethereum.core.fact_transactions t
LEFT JOIN ethereum.price.ez_prices_hourly p
ON DATE_TRUNC('hour', t.block_timestamp) = p.hour
AND p.symbol = 'ETH'
WHERE t.block_timestamp >= CURRENT_DATE - INTERVAL '{{days}} days'
AND t.status = 'SUCCESS'
GROUP BY 1, 2
UNION ALL
-- Near daily fees with price
SELECT
'near' as blockchain,
DATE_TRUNC('day', t.block_timestamp) as date,
AVG((t.transaction_fee / POW(10, 24)) * p.price) as avg_tx_fee_usd
Last run: 1 day ago
...
124
6KB
124s