kiacryptodaily comparison since mid Jun
Updated 2022-07-27Copy Reference Fork
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 poly as (
select block_timestamp, lead(block_timestamp) over(order by block_number) as next_block_time, datediff('s',block_timestamp,next_block_time) as diff, tx_count
from polygon.core.fact_blocks
where block_timestamp::date >= '2022-06-15'
),
flow as (
select block_timestamp, lead(block_timestamp) over(order by block_height) as next_block_time, datediff('s',block_timestamp,next_block_time) as diff, tx_count
from flow.core.fact_blocks
where block_timestamp::date >= '2022-06-15'
),
sol as (
select block_timestamp, lead(block_timestamp) over(order by block_id) as next_block_time, datediff('s',block_timestamp,next_block_time) as diff, tx_count
from solana.core.fact_blocks
where block_timestamp::date >= '2022-06-15'
),
op as (
select block_timestamp, lead(block_timestamp) over(order by block_number) as next_block_time, datediff('s',block_timestamp,next_block_time) as diff, tx_count
from optimism.core.fact_blocks
where block_timestamp::date >= '2022-06-15'
),
arbi as (
select block_timestamp, lead(block_timestamp) over(order by block_number) as next_block_time, datediff('s',block_timestamp,next_block_time) as diff, tx_count
from arbitrum.core.fact_blocks
where block_timestamp::date >= '2022-06-15'
)
select date_trunc('day', block_timestamp) as date, avg(diff) as avg_block_time, max(diff) as max_block_time, min(diff) as min_block_time, avg(tx_count) as avg_block_tx, 'Polygon' as blockchain
from poly
where diff < 25
group by 1
union all
select date_trunc('day', block_timestamp) as date, avg(diff) as avg_block_time, max(diff) as max_block_time, min(diff) as min_block_time, avg(tx_count) as avg_block_tx, 'Flow' as blockchain
from flow
where diff < 25
Run a query to Download Data