rajsSolana Blocks Total
Updated 2022-07-25
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
›
⌄
SELECT
avg(diff) as avg_diff,
percentile_cont(0.5) within group (order by diff) as median_diff,
max(diff) as max_diff,
min(diff) as min_diff,
avg(tx_count) as avg_txs,
percentile_cont(0.5) within group (order by tx_count) as median_txs,
max(tx_count) as max_txs,
min(tx_count) as min_txs
FROM
(
SELECT
datediff('seconds', lead(block_timestamp,1) over (order by block_timestamp desc), block_timestamp) as diff,
tx_count
from solana.core.fact_blocks
where block_timestamp >= CURRENT_DATE - interval '30 days'
-- order by block_timestamp desc
-- limit 3
)
Run a query to Download Data