elsinaMin, Max, Avg TPM,TPS
    Updated 2022-12-11
    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