Tobi_1deep-blush
Updated 2024-09-28
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
›
⌄
WITH transaction_trend AS (
SELECT
BLOCK_TIMESTAMP::DATE AS transaction_date,
COUNT(TX_HASH) AS daily_transaction_count
FROM
base.core.ez_token_transfers
WHERE
CONTRACT_ADDRESS = '0x532f27101965dd16442e59d40670faf5ebb142e4'
AND BLOCK_TIMESTAMP >= DATEADD(DAY, -30, CURRENT_TIMESTAMP) -- Filter for the last 30 days
GROUP BY
BLOCK_TIMESTAMP::DATE
)
-- Final Query: Select the daily transaction trend
SELECT
transaction_date,
daily_transaction_count
FROM
transaction_trend
ORDER BY
transaction_date ASC;
QueryRunArchived: QueryRun has been archived