namanasync2024-07-08 01:23 PM
Updated 2024-07-08
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
›
⌄
SELECT
"N_TX",
"MIN_TS",
"MAX_TS",
"N_TO_ADDR",
"MIN_TIME_DELTA",
"FROM_ADDRESS"
FROM
(
WITH diffs as (
select
from_address,
TIMESTAMPDIFF(
SECONDS,
LAG(block_timestamp, 1) OVER (
PARTITION BY from_address
ORDER BY
block_timestamp
),
block_timestamp
) time_between_txs
from
arbitrum.core.fact_transactions
where
(
block_number >= 193371117
and block_number <= 193375117
)
)
SELECT
count(tx_hash) as n_tx,
min(block_timestamp) as min_ts,
max(block_timestamp) as max_ts,
QueryRunArchived: QueryRun has been archived