Updated 2025-03-19
    select
    'Swell' as blockchain,
    block_timestamp :: Date as date,
    count(tx_hash) as "Transaction Count",
    count(distinct from_address) as "Active User Count",
    avg(tx_Fee) as "Average Transaction Fee",
    sum(
    case
    when TX_SUCCEEDED = TRUE then 1
    else 0
    end
    ) / "Transaction Count" * 100 as "successful Transaction Percentage"
    from
    swell.core.fact_transactions
    group by
    1,
    2
    union all
    select
    'Ethereum' as blockchain,
    block_timestamp :: Date as date,
    count(tx_hash) as "Transaction Count",
    count(distinct from_address) as "Active User Count",
    avg(tx_Fee) as "Average Transaction Fee",
    sum(
    case
    when TX_SUCCEEDED = TRUE then 1
    else 0
    end
    ) / "Transaction Count" * 100 as "successful Transaction Percentage"
    from
    Ethereum.core.fact_transactions
    where block_timestamp :: Date>='2024-11-27'
    group by
    1,
    2
    Last run: about 1 month ago
    BLOCKCHAIN
    DATE
    Transaction Count
    Active User Count
    Average Transaction Fee
    successful Transaction Percentage
    1
    Swell2025-01-08 00:00:00.000477973104.856196054e-799.772
    2
    Swell2025-01-15 00:00:00.000475573177.099499077e-799.8738
    3
    Swell2025-01-24 00:00:00.000489249292.931746981e-799.9244
    4
    Ethereum2025-01-08 00:00:00.00012006373806440.00101948530698.6011
    5
    Ethereum2025-01-15 00:00:00.00012351014224340.000908244530498.6311
    6
    Ethereum2025-01-24 00:00:00.00013728774756360.00100052107498.8084
    7
    Optimism2025-01-15 00:00:00.000747089774700.0000165624274192.5484
    8
    Optimism2025-01-24 00:00:00.000796357812170.00000622131793894.7778
    9
    Optimism2025-01-08 00:00:00.000840937865020.0000116612905993.7964
    10
    Arbitrum2025-01-08 00:00:00.00024885103351180.00000748594711185.9816
    11
    Arbitrum2025-01-15 00:00:00.00021672574236870.00000938689284791.0015
    12
    Arbitrum2025-01-24 00:00:00.00025575104209160.0000033022270289.4129
    13
    Base2025-01-08 00:00:00.000110877198018530.0000162361050264.9206
    14
    Base2025-01-15 00:00:00.000112967218770720.0000199371720460.3787
    15
    Base2025-01-24 00:00:00.0001036994110377570.0000100215353172.6127
    16
    Swell2024-12-26 00:00:00.000467772073.927273029e-799.9166
    17
    Ethereum2024-12-26 00:00:00.00012086654149970.000760221778198.5578
    18
    Optimism2024-12-26 00:00:00.000838692783140.00000973076007395.4167
    19
    Arbitrum2024-12-26 00:00:00.00021623073736510.0000058401522690.4089
    20
    Base2024-12-26 00:00:00.00076586009630970.0000124415956881.3289
    ...
    565
    42KB
    158s