mamad-5XN3k3BOB vs. Other Chains
    Updated 2025-04-03
    with pricet as (
    select
    'Core' as sym,
    Hour::date as pdate,
    avg(price) as price
    from core.price.ez_prices_Hourly
    where symbol = 'CORE'
    group by 1,2

    union

    select
    'ETH' as sym,
    Hour::date as pdate,
    avg(price) as price
    from ethereum.price.ez_prices_Hourly
    where symbol = 'ETH'
    and token_address is null
    group by 1,2
    )

    select
    'Arbitrum' as Chain,
    date_trunc('{{Frame}}', block_timestamp) as day,
    count(distinct TX_HASH) as txs,
    txs/count(DISTINCT date_trunc('{{Frame}}', block_timestamp))/(case when '{{Frame}}' = 'Hour' then 3600 when '{{Frame}}' = 'Day' then 86400 when '{{Frame}}' = 'Week' then 604800 when '{{Frame}}' = 'Month' then 2592000 else 1 end) as avg_tps,
    COUNT(DISTINCT tx_hash) / TIMESTAMPDIFF(SECOND, MIN(block_timestamp), MAX(block_timestamp)) AS avg_tps2,
    sum(TX_FEE*price) as Fee,
    --sum(TX_FEE*price)/count(distinct TX_HASH) as avgFee,
    avg(TX_FEE*price) as avg_Fee,
    count(DISTINCT from_Address) as users,
    (sum(case when TX_SUCCEEDED ='TRUE' then 1 else 0 end)/txs)*100 as success_rate,
    txs/users as tx_per_user,
    txs/Count(DISTINCT date_trunc('{{Frame}}', block_timestamp)) as txs_per_day,
    users/count(DISTINCT date_trunc('{{Frame}}', block_timestamp)) as users_per_day
    from arbitrum.core.fact_transactions
    Last run: 15 days ago
    CHAIN
    DAY
    TXS
    AVG_TPS
    AVG_TPS2
    FEE
    AVG_FEE
    USERS
    SUCCESS_RATE
    TX_PER_USER
    TXS_PER_DAY
    USERS_PER_DAY
    1
    Core2025-03-23 00:00:00.0003062413.5444560185193.544579315.6143244370.00103060767313854298.88232.210456306241138542
    2
    Arbitrum2025-03-21 00:00:00.000188935521.86753472222221.8677887598.7148157340.00402185656819301090.89869.7888971889355193010
    3
    Arbitrum2025-03-17 00:00:00.000211114324.43452546296324.43480810520.0484297730.00498310556429224789.65557.2238312111143292247
    4
    Arbitrum2025-03-13 00:00:00.000235614127.27015046296327.27046615086.863318270.00640320902625698683.79689.1683632356141256986
    5
    BOB2025-03-15 00:00:00.000664750.7693865740740.76940414.4268159770.0002170261899474699.851114.006532664754746
    6
    BOB2025-04-02 00:00:00.000766700.8873842592590.88740589.5258454670.0011676776511026199.85527.4719817667010261
    7
    Base2025-03-24 00:00:00.000724125983.81086805555683.812808142751.284666650.0197136001780340094.35779.0132677241259803400
    8
    Base2025-03-17 00:00:00.000694018580.32621527777880.328075146309.743603630.0210815336593931994.70327.3885286940185939319
    9
    Base2025-03-04 00:00:00.000767235988.80045138888988.802507259426.1721162270.03381309088116270288.74546.59873276723591162702
    10
    BOB2025-03-07 00:00:00.000832320.9633333333330.96335639.435141770.0004737978394558099.569914.916129832325580
    11
    Base2025-03-29 00:00:00.000682017278.93717592592678.93900381359.5464561550.0119292514179960294.75618.5294586820172799602
    12
    Base2025-03-07 00:00:00.000717411283.03370370370483.035626228626.7157149750.0318682947491279991.32667.8594657174112912799
    13
    Core2025-03-31 00:00:00.0005881616.8074189814816.807655866.1120590370.00147257648725709296.22812.287745588161257092
    14
    Arbitrum2025-03-05 00:00:00.000250061628.94231481481528.9426519564.5923435590.00782390912625856181.14159.6712812500616258561
    15
    BOB2025-04-01 00:00:00.000780500.9033564814810.90337736.5491131910.00046827819591081199.85277.2194997805010811
    16
    Base2025-03-12 00:00:00.000763578288.37710648148188.379152238627.2393394530.0312511854579289493.37219.6302687635782792894
    17
    BOB2025-03-14 00:00:00.000664970.7696412037040.76965910.6057601570.0001594923103467399.79714.230045664974673
    18
    Base2025-03-23 00:00:00.000729307784.41061342592684.41256776073.8537787450.01043096813131394395.83095.55052872930771313943
    19
    Core2025-03-06 00:00:00.0004807535.5642708333335.564464711.9314859690.00148086748529542198.23731.627349480753295421
    20
    Base2025-03-14 00:00:00.000757933487.72377314814887.725804166105.2152648470.02191554235106341594.96617.12735375793341063415
    ...
    124
    16KB
    76s