BLOCKCHAIN | DATE | AVG_TX_FEE_USD | DAILY_FEE_RANK | |
---|---|---|---|---|
1 | ethereum | 2025-04-14 00:00:00.000 | 0.2290325007 | 1 |
2 | solana | 2025-04-14 00:00:00.000 | 0.008729173472 | 2 |
3 | near | 2025-04-14 00:00:00.000 | 0.001185665432 | 3 |
4 | aptos | 2025-04-14 00:00:00.000 | 0.0006265661521 | 4 |
5 | ethereum | 2025-04-13 00:00:00.000 | 0.2891607294 | 1 |
6 | solana | 2025-04-13 00:00:00.000 | 0.009514447068 | 2 |
7 | near | 2025-04-13 00:00:00.000 | 0.001328902928 | 3 |
8 | aptos | 2025-04-13 00:00:00.000 | 0.0007349789079 | 4 |
9 | ethereum | 2025-04-12 00:00:00.000 | 0.2389827215 | 1 |
10 | solana | 2025-04-12 00:00:00.000 | 0.01025161801 | 2 |
11 | near | 2025-04-12 00:00:00.000 | 0.001315904602 | 3 |
12 | aptos | 2025-04-12 00:00:00.000 | 0.0007828128703 | 4 |
13 | ethereum | 2025-04-11 00:00:00.000 | 0.2480919429 | 1 |
14 | solana | 2025-04-11 00:00:00.000 | 0.008649751252 | 2 |
15 | near | 2025-04-11 00:00:00.000 | 0.001270920161 | 3 |
16 | aptos | 2025-04-11 00:00:00.000 | 0.0009409203433 | 4 |
17 | ethereum | 2025-04-10 00:00:00.000 | 0.4435454137 | 1 |
18 | solana | 2025-04-10 00:00:00.000 | 0.009591627773 | 2 |
19 | near | 2025-04-10 00:00:00.000 | 0.001269124027 | 3 |
20 | aptos | 2025-04-10 00:00:00.000 | 0.001023591261 | 4 |
aureasarsanedesaptos gas 3.2
Updated 4 days 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: 4 days ago
...
124
6KB
136s