DAY | USERS | |
---|---|---|
1 | 2024-06-18 00:00:00.000 | 135 |
2 | 2025-02-20 00:00:00.000 | 155 |
3 | 2024-12-12 00:00:00.000 | 162 |
4 | 2024-07-07 00:00:00.000 | 13 |
5 | 2024-09-21 00:00:00.000 | 12 |
6 | 2025-03-28 00:00:00.000 | 1108 |
7 | 2024-12-15 00:00:00.000 | 73 |
8 | 2025-03-10 00:00:00.000 | 109 |
9 | 2024-07-20 00:00:00.000 | 14 |
10 | 2024-12-23 00:00:00.000 | 186 |
11 | 2025-01-14 00:00:00.000 | 299 |
12 | 2025-02-18 00:00:00.000 | 124 |
13 | 2024-07-11 00:00:00.000 | 19 |
14 | 2024-08-28 00:00:00.000 | 11 |
15 | 2025-01-24 00:00:00.000 | 144 |
16 | 2025-01-08 00:00:00.000 | 197 |
17 | 2025-01-15 00:00:00.000 | 374 |
18 | 2024-06-16 00:00:00.000 | 91 |
19 | 2024-07-02 00:00:00.000 | 16 |
20 | 2024-12-07 00:00:00.000 | 161 |
freemartianDaily Users - Base & Ethereum
Updated 6 days ago
999
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 prices AS(
SELECT
hour::date AS price_day,
AVG(price) AS price
FROM ethereum.price.ez_prices_hourly
WHERE token_address = '0xb23d80f5fefcddaa212212f028021b41ded428cf'
AND hour::date >= '2024-06-01'
GROUP BY 1
),
current_prices AS(
SELECT
hour AS price_day,
price,
FROM ethereum.price.ez_prices_hourly
WHERE token_address = '0xb23d80f5fefcddaa212212f028021b41ded428cf'
AND hour = DATEADD(hour,-2,to_char(current_timestamp,'YYYY-MM-DD HH24:00:00'))
),
eth_deposits AS (
SELECT
block_timestamp,
tx_hash,
decoded_log:user :: string AS user,
decoded_log:amount / pow(10,18) AS amount,
price * (decoded_log:amount / pow(10,18)) AS amount_usd,
'Ethereum Deposit' AS label
FROM ethereum.core.ez_decoded_event_logs
INNER JOIN prices ON (block_timestamp::date = price_day)
WHERE contract_address = '0x4a3826bd2e8a31956ad0397a49efde5e0d825238'
AND event_name = 'DepositCreated'
AND block_timestamp::date >= '2024-06-01'
),
Last run: 6 days ago
...
317
10KB
51s