FatemeTheLadyTPM Near, Eth, Solana, BSC, AVAX
    Updated 2022-07-20
    SELECT 'Ethereum' AS blockchain, block_timestamp::date as date, count(DISTINCT TX_HASH) as num_txs, count(DISTINCT TX_HASH)/1440 as TPM
    FROM ethereum.core.fact_transactions where block_timestamp::date>='2022-06-18' and block_timestamp::date<='2022-07-17'
    GROUP BY 1,2
    UNION
    SELECT 'NEAR' AS blockchain, block_timestamp::date as date, count(DISTINCT TXN_HASH) as num_txs, count(DISTINCT TXN_HASH)/1440 as TPM
    FROM flipside_prod_db.mdao_near.receipts where block_timestamp::date>='2022-06-18' and block_timestamp::date<='2022-07-17'
    GROUP BY 1,2

    UNION

    SELECT 'Avalanche' as blockchain, block_timestamp::date as date, count(DISTINCT TX_HASH) as num_txs, COUNT(DISTINCT TX_HASH)/1440 AS TPM
    FROM avalanche.core.fact_transactions WHERE block_timestamp::date>='2022-06-18' and block_timestamp::date<='2022-07-17'
    GROUP BY 1,2

    UNION

    SELECT 'FLOW' as blockchain, block_timestamp::date as date, count(DISTINCT TX_ID) as num_txs, COUNT(DISTINCT TX_ID)/1440 AS TPM
    FROM flow.core.fact_transactions WHERE block_timestamp::date>='2022-06-18' and block_timestamp::date<='2022-07-17'
    GROUP BY 1,2

    UNION

    SELECT 'Harmony' as blockchain, block_timestamp::date as date, count(DISTINCT TX_HASH) as num_txs, COUNT(DISTINCT TX_HASH)/1440 AS TPM
    FROM flipside_prod_db.mdao_harmony.txs WHERE block_timestamp::date>='2022-06-18' and block_timestamp::date<='2022-07-17'
    GROUP BY 1,2

    UNION

    SELECT 'Osmosis' as blockchain, block_timestamp::date as date, count(DISTINCT TX_ID) as num_txs, COUNT(DISTINCT TX_ID)/1440 AS TPM
    FROM osmosis.core.fact_transactions WHERE block_timestamp::date>='2022-06-18' and block_timestamp::date<='2022-07-17'
    GROUP BY 1,2



    Run a query to Download Data