MONTH_NAME | TOTAL_TRANSACTIONS | |
---|---|---|
1 | Janth 2025 | 169950601 |
2 | Febth 2025 | 116981743 |
3 | Marth 2025 | 125327245 |
4 | Aprth 2025 | 121741359 |
5 | Mayth 2025 | 42676852 |
Echo5577shaky-tomato
Updated 2025-05-12
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
›
⌄
WITH monthly_data AS (
SELECT
DATE_TRUNC('month', BLOCK_TIMESTAMP_HOUR) AS month_block_time,
TO_CHAR(DATE_TRUNC('month', BLOCK_TIMESTAMP_HOUR), 'Month YYYY') AS month_name,
SUM(TRANSACTION_COUNT) AS total_transactions
FROM
aptos.stats.ez_core_metrics_hourly
WHERE
YEAR(BLOCK_TIMESTAMP_HOUR) = YEAR(CURRENT_DATE()) AND
MONTH(BLOCK_TIMESTAMP_HOUR) <= 9 -- Filter for months up to September
GROUP BY
month_block_time
)
SELECT
month_name,
total_transactions
FROM
monthly_data
ORDER BY
month_block_time; -- Ordering by the truncated month time
Last run: 19 days ago
5
125B
3s