AVG_USERS | TOTAL_USERS | |
---|---|---|
1 | 299830.877778 | 134923895 |
feyikemiNEAR Users Count
Updated 2025-03-25
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 transactions AS (
SELECT
block_timestamp,
tx_signer AS user
FROM near.core.fact_transactions
WHERE TX_SUCCEEDED = TRUE
UNION
SELECT
block_timestamp,
tx_receiver AS user
FROM near.core.fact_transactions
WHERE TX_SUCCEEDED = TRUE
),
first_tx_time AS (
SELECT
MIN(block_timestamp) AS first_tx_time,
user
FROM transactions
GROUP BY user
),
daily_user_counts AS (
SELECT
DATE_TRUNC('day', first_tx_time) AS daily,
COUNT(DISTINCT user) AS users,
FROM first_tx_time
WHERE first_tx_time::date >= '2024-01-01'
GROUP BY daily
)
SELECT
AVG(users) AS avg_users,
SUM(users) AS total_users
FROM daily_user_counts
Last run: 2 months ago
1
27B
492s