SocioCryptoEthereum vs Solana: txns
    Updated 2022-09-27

    SELECT 'Optimism' as label,
    'L2' as sub_label,
    count(tx_hash) as n_txns
    FROM optimism.core.fact_transactions
    WHERE block_timestamp::date BETWEEN current_date-30 and current_date -1
    UNION
    SELECT 'Near' as label,
    'L1' as sub_label,
    count(tx_hash) as n_txns
    FROM near.core.fact_transactions
    WHERE block_timestamp::date BETWEEN current_date-30 and current_date -1
    UNION
    SELECT 'Polygon' as label,
    'L2' as sub_label,
    count(tx_hash) as n_txns
    FROM polygon.core.fact_transactions
    WHERE block_timestamp::date BETWEEN current_date-30 and current_date -1
    UNION
    SELECT 'Ethereum' as label,
    'Ethereum' as sub_label,
    count(tx_hash) as n_txns
    FROM ethereum.core.fact_transactions
    WHERE block_timestamp::date BETWEEN current_date-30 and current_date -1
    UNION
    SELECT 'Solana' as label,
    'Solana' as sub_label,
    count(tx_id) as n_txns
    FROM solana.core.fact_transactions
    WHERE block_timestamp::date BETWEEN current_date-30 and current_date -1
    UNION
    SELECT 'Arbitrum' as label,
    'L2' as sub_label,
    count(tx_hash) as n_txns
    FROM arbitrum.core.fact_transactions
    WHERE block_timestamp::date BETWEEN current_date-30 and current_date -1
    Run a query to Download Data