sepehrmhz82023-05-13 11:07 AM
    Updated 2023-05-14
    select
    'FLOW' as Network,
    count(distinct tx_id) as Txs,
    count(distinct proposer) as Users,
    Txs / 24 as "TPH",
    Txs / 1440 as "TPM",
    Txs / 86400 as "TPS"
    from
    flow.core.fact_transactions
    where
    block_timestamp >= '2023-01-01'
    group by
    1
    union ALL
    select
    'BSC' as Network,
    count(distinct tx_hash) as Txs,
    count(distinct from_address) as Users,
    Txs / 24 as "TPH",
    Txs / 1440 as "TPM",
    Txs / 86400 as "TPS"
    from
    bsc.core.fact_transactions
    where
    block_timestamp >= '2023-01-01'
    group by
    1
    union ALL
    select
    'Near' as Network,
    count(distinct tx_hash) as Txs,
    count(distinct tx_signer) as Users,
    Txs / 24 as "TPH",
    Txs / 1440 as "TPM",
    Txs / 86400 as "TPS"
    from
    Run a query to Download Data