elsinaMin, Max, Avg TPM,TPS
Updated 2022-12-11
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 FLOW_TPS as (
select 'FLOW' as chain,
date_trunc (day,block_timestamp) as date,
count(tx_id) as "Daily TX Count",
sum("Daily TX Count") over(order by date) as "Cumulative TX Count",
"Daily TX Count"/(1440) as "Transactions Per Minute (TPM)",
"Daily TX Count"/(86400) as "Transactions Per Second (TPS)"
from flow.core.fact_transactions
where block_timestamp >= '2022-01-01' and block_timestamp::date < '2022-12-01' and tx_succeeded = 'TRUE'
group by 1,2
), BSC_TPS as (
select 'BSC' as chain,
date_trunc (day,block_timestamp) as date,
count(tx_hash) as "Daily TX Count", sum("Daily TX Count") over(order by date) as "Cumulative TX Count",
"Daily TX Count"/(1440) as "Transactions Per Minute (TPM)",
"Daily TX Count"/(86400) as "Transactions Per Second (TPS)"
from bsc.core.fact_transactions
where block_timestamp >= '2022-01-01' and block_timestamp::date < '2022-12-01' and status = 'SUCCESS'
group by 1,2
),Ethereum_TPS as (
select 'Ethereum' as chain,
date_trunc (day,block_timestamp) as date,
count(tx_hash) as "Daily TX Count", sum("Daily TX Count") over(order by date) as "Cumulative TX Count",
"Daily TX Count"/(1440) as "Transactions Per Minute (TPM)",
"Daily TX Count"/(86400) as "Transactions Per Second (TPS)"
from ethereum.core.fact_transactions
where block_timestamp >= '2022-01-01' and block_timestamp::date < '2022-12-01' and status = 'SUCCESS'
group by 1,2
), Avalanche_TPS as (
select 'Avalanche' as chain,
date_trunc (day,block_timestamp) as date,
count(tx_hash) as "Daily TX Count", sum("Daily TX Count") over(order by date) as "Cumulative TX Count",
"Daily TX Count"/(1440) as "Transactions Per Minute (TPM)",
Run a query to Download Data