Hessishlq ldrb fin
Updated 2025-03-18Copy Reference Fork
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
acc_mapping as ( SELECT
SIGNERS[0] as main_acc, SIGNERS[1] as playing_acc
from eclipse.core.fact_transactions
where
block_timestamp::date >= '2024-12-01' and
SUCCEEDED = 'TRUE'
and LOG_MESSAGES[0] like '%turboe9kMc3mSR8BosPkVzoHUfn5RVNzZhkrT2hdGxN%'
and LOG_MESSAGES[1] = 'Program log: Instruction: GrantClicker'
),
combine as (SELECT
count(DISTINCT tx_id) as "Total tapsx",
--Main_acc as "Main wallet address",
signers[0] as "In-game addressx",
count(DISTINCT tx_id) / count(DISTINCT date_trunc('second', block_timestamp))
as avg_secx,
count(DISTINCT tx_id) / count(DISTINCT date_trunc('minute', block_timestamp))
as avg_minx,
count(DISTINCT tx_id) / count(DISTINCT date_trunc('hour', block_timestamp))
as avg_hourx,
COUNT(DISTINCT block_timestamp::date) AS actvx,
max(block_timestamp::date) as "last playing datex"
from
eclipse.core.fact_events
-- join acc_mapping on "In-game address" = playing_acc
where
block_timestamp::date >= '2025-03-15'
QueryRunArchived: QueryRun has been archived