maybeyonaschain_tx_stats
    Updated 1 day ago
    select
    date_trunc('day', block_timestamp) as date,
    count(tx_hash) as actual_txs,
    count(
    case
    when tx_succeeded then tx_hash
    else null end
    ) as actual_succeeded_txs,
    count(
    case
    when not(tx_succeeded) then tx_hash
    else null end
    ) as actual_failed_txs,
    count(distinct from_address) as interacting_wallets,
    sum(tx_fee_precise) as fees,
    sum(l1_fee_precise) as l1_fees,
    actual_txs/86400 as actual_tps,
    sum(gas_used) as daily_gas_used,

    sum(actual_txs) over(order by date) as cumu_actual_txs,
    sum(actual_succeeded_txs) over(order by date) as cumu_actual_succeeded_txs,
    sum(actual_failed_txs) over(order by date) as cumu_actual_failed_txs,
    sum(fees) over(order by date) as cumu_fees,
    sum(l1_fees) over(order by date) as cumu_l1_fees,
    sum(daily_gas_used) over(order by date) as cumu_gas_used,

    avg(actual_txs) over(order by date rows between 7 preceding and current row) as dma7_actual_txs,
    avg(actual_succeeded_txs) over(order by date rows between 7 preceding and current row) as dma7_actual_succeeded_txs,
    avg(actual_failed_txs) over(order by date rows between 7 preceding and current row) as dma7_actual_failed_txs,
    avg(interacting_wallets) over(order by date rows between 7 preceding and current row) as dma7_interacting_wallets,
    avg(fees) over(order by date rows between 7 preceding and current row) as dma7_fees,
    avg(l1_fees) over(order by date rows between 7 preceding and current row) as dma7_l1_fees,
    avg(daily_gas_used) over(order by date rows between 7 preceding and current row) as dma7_gas_used,

    min(effective_gas_price/1e6) as min_gas_price,
    max(effective_gas_price/1e6) as max_gas_price,
    Last run: 1 day ago
    DATE
    ACTUAL_TXS
    ACTUAL_SUCCEEDED_TXS
    ACTUAL_FAILED_TXS
    INTERACTING_WALLETS
    FEES
    L1_FEES
    ACTUAL_TPS
    DAILY_GAS_USED
    CUMU_ACTUAL_TXS
    CUMU_ACTUAL_SUCCEEDED_TXS
    CUMU_ACTUAL_FAILED_TXS
    CUMU_FEES
    CUMU_L1_FEES
    CUMU_GAS_USED
    DMA7_ACTUAL_TXS
    DMA7_ACTUAL_SUCCEEDED_TXS
    DMA7_ACTUAL_FAILED_TXS
    DMA7_INTERACTING_WALLETS
    DMA7_FEES
    DMA7_L1_FEES
    DMA7_GAS_USED
    MIN_GAS_PRICE
    MAX_GAS_PRICE
    OPEN_GAS_PRICE
    CLOSE_GAS_PRICE
    MIN_L1_GAS_PRICE
    MAX_L1_GAS_PRICE
    OPEN_L1_GAS_PRICE
    CLOSE_L1_GAS_PRICE
    1
    2025-03-29 00:00:00.00076573233890.0007393014670.0000018605290240.00885494450427501891491252106391.438942590.6664116192494292879423712.53549163.52890.0055387731590.00012522574124682156710.0002511500.0002511.0002511.0002510.3202576840.7078120460.5851530170.406341292
    2
    2025-03-28 00:00:00.000439342131802930.0024248536320.00081927897850.050845500428191501126490520106061.4382032880.6664097587493348375154040.253867.375172.875306.8750.0057876658820.0001264200072499550316.6250.0002511500.0002511.0002511.0002510.3025113331.7723494690.3964935050.610591178
    3
    2025-03-27 00:00:00.000411039062043830.0086690018010.000038352964790.047569675241332496733486307104261.4357784350.6655904797488344093243982.1253812.875169.25304.250.0063672337280.0000255089465490968845.8750.00025130001.0005021.0002510.2861744452.1254376870.3465651080.371333643
    4
    2025-03-26 00:00:00.000572953044254720.019522827610.000039534452340.066308842705202492623482401102221.4271094330.6655521267481591679923996.1253834.25161.875289.8750.0060303266990.00002398528922462914862.1250.0002511500.21.0002511.0002510.3027126272.5835430240.339690710.353722434
    5
    2025-03-25 00:00:00.000414640011452880.0058339764830.000012554192030.04798653958145348689447709797971.4075866050.6655125923473164627903732.753607.75125262.50.0039046381650.00003644004724403924914.750.0002512000.0002511.0002511.1002510.3116500792.0287331430.6622137730.311650079
    6
    2025-03-24 00:00:00.000446143521093280.0031257817380.000014915929030.05163251922912748274847309696521.4017526290.66550003814677688133736303509.5120.5259.6250.0037779249350.0003150010651377140961.750.00025230001.0002511.0005020.3062679573.2695779330.4224826010.52544433
    7
    2025-03-23 00:00:00.000300728921152460.0026219324570.0000048672666140.03480326219433847828746874495431.3986268470.6654851222462576522103501.8753379.75122.125246.3750.003554089870.0003225068037351694409.6250.0002521500.0002511.0002511.3750.2900287850.5766034620.3848369840.387188538
    8
    2025-03-22 00:00:00.00030892992972130.0013725100850.000070441617330.03575231189529847528046585294281.3960049150.6654802549459954578723478.253360.125118.125244.750.0035665183380.0003421466535350875492.250.0002521500.0002511.0002511.0002510.3319753920.5751413390.3788376110.357410846
    9
    2025-03-21 00:00:00.000338732791082320.0027304432520.000011414656830.03920134512759247219146286093311.3946324050.6654098133456835625743515.8753396.5119.375250.8750.0040783891260.00048509580473569813960.0002521500.0002511.0002511.0002510.3354485520.6734721570.3995977120.439226329
    10
    2025-03-20 00:00:00.000392837771512720.0070613963970.000011990493030.04546343177642546880445958192231.3919019610.6653983986453384349823545.753427.375118.375253.6250.0046415138230.0007723145145359487122.750.0002511500.0002511.0002511.0002510.3625279152.4283714490.4517995080.469688436
    11
    2025-03-19 00:00:00.000422240771452680.0059737455750.000026163706520.04886645080946246487645580490721.3848405650.6653864081449066585573914.1253792.375121.75251.8750.0052724414870.0013108468524360472930.0002511500.0002510.0669181.2003010.3382846163.598210150.4325330540.421268796
    12
    2025-03-18 00:00:00.000362234921302530.0025173193330.00013917251650.04192137078562346065445172789271.3788668190.6653602444444558490954133.754013120.75253.6250.0061093116330.001970050626473018284.50.0002511500.0002511.0002511.0002510.3478619121.0544313010.3831305290.427103695
    13
    2025-03-17 00:00:00.000332432151092650.0048202706460.0022410423350.03847232530982945703244823587971.37634950.6652210719440850634724446.754317.875128.875250.50.0091545789090.004819182187507768592.1250.0002511500.0002511.21.0002510.3501998762.024962230.4980369670.406806168
    14
    2025-03-16 00:00:00.000343633141222220.0013351012150.000074961837350.03976931565671045370844502086881.3715292290.6629800296437597536434568.6254434.75133.875246.8750.0092372536540.004768265503523054837.6250.0002511500.0002511.0002511.0002510.3653420170.9578686750.4663565520.478972577
    15
    2025-03-15 00:00:00.00028182735832330.0027213601990.00016198606520.03261625564299945027244170685661.3701941280.6629050677434440969334634.754504.25130.5249.8750.009309464160.004768617543537364817.8750.0002511500.0002511.0002511.0002510.3741532740.7679844830.5475742810.44633306
    16
    2025-03-14 00:00:00.000339032831072620.0054674763940.0012140348270.03923636074252844745443897184831.3674727680.6627430817431884539345070.3754925.125145.25254.6250.0097827591190.0050880563925905875240.0002511500.0002511.0002511.0002510.368915521.996986180.5109951210.521921098
    17
    2025-03-13 00:00:00.000362635261002540.0072354408270.0023091643350.04196836517340644406443568883761.3620052920.6615290468428277114065452.755299153.75264.50.010527698280.004993257097648984972.7501500.0002511.0002511.00025102.0720587420.5217990950.482627188
    18
    2025-03-12 00:00:00.000687566971782580.012108817710.0043202491950.079572104425778744043843216282761.3547698510.6592198825424625380005582.8755428.5154.375267.8750.010773342220.004799282446665787553.8750.0002511500.0002511.0002511.0002510.425346512.5053637630.526395460.564713992
    19
    2025-03-11 00:00:00.000597958421372820.012668706750.0052997938930.06920174657739443356342546580981.3426610330.65489963334141828021355375388.25148.75265.1250.010339190040.004746500375622115586.6250.0002511500.0002511.21.0002510.46569562227.9608259230.870129350.529340273
    20
    2025-03-10 00:00:00.000612659311952280.026879457540.022932225010.07090364878808442758441962379611.3299923260.64959983944067170281955765426.625149.375265.3750.011212294220.004904503706612962408.1250.0002511500.0002511.0002511.0002510.40353300758.6559812440.7126143430.897643857
    ...
    121
    36KB
    3s