picasocumulative jan feb
    Updated 8 days ago
    WITH table1 AS (
    SELECT
    block_timestamp::date AS daily,
    tx_hash,
    tx_fee,
    from_address,
    tx_succeeded
    FROM boba.core.fact_transactions
    WHERE block_timestamp::date >= '2025-01-01'
    AND block_timestamp::date < '2025-03-01'
    ),
    contract_deployments AS (
    SELECT
    block_timestamp::date AS daily,
    COUNT(DISTINCT tx_hash) AS total_contracts_deployed
    FROM boba.core.fact_traces
    WHERE TYPE ILIKE 'create%'
    AND tx_succeeded = TRUE
    AND trace_succeeded = TRUE
    AND block_timestamp::date >= '2025-01-01'
    AND block_timestamp::date < '2025-03-01'
    GROUP BY daily
    )
    SELECT
    t1.daily,
    CASE
    WHEN t1.daily < '2025-02-01' THEN 'january'
    ELSE 'february'
    END AS type,
    COUNT(DISTINCT t1.tx_hash) AS transactions,
    SUM(t1.tx_fee) AS fees,
    COUNT(DISTINCT t1.from_address) AS active_users,
    COUNT(CASE WHEN t1.tx_succeeded = TRUE THEN t1.tx_hash END) AS successful_txs,
    COUNT(CASE WHEN t1.tx_succeeded = FALSE THEN t1.tx_hash END) AS failed_txs,

    SUM(COUNT(DISTINCT t1.tx_hash)) OVER (PARTITION BY type ORDER BY t1.daily) AS "Cumulative tx_hash",
    Last run: 8 days ago
    DAILY
    TYPE
    TRANSACTIONS
    FEES
    ACTIVE_USERS
    SUCCESSFUL_TXS
    FAILED_TXS
    Cumulative tx_hash
    Cumulative users
    Cumulative fee
    TOTAL_CONTRACTS_DEPLOYED
    Cumulative total contracts
    1
    2025-01-01 00:00:00.000january464070.032783565885124638027464075120.0327835658800
    2
    2025-01-02 00:00:00.000january466120.06677029953664657240930198780.0995538653888
    3
    2025-01-03 00:00:00.000january494610.09111743994705494362514248015830.1906713053210
    4
    2025-01-04 00:00:00.000january474920.03860146807640474444818997222230.2292727734010
    5
    2025-01-05 00:00:00.000january482250.04723729367676482022323819728990.2765100671010
    6
    2025-01-06 00:00:00.000january462110.04759766831324461902128440832230.3241077354313
    7
    2025-01-07 00:00:00.000january480630.05147927069681479956833247139040.3755870061316
    8
    2025-01-08 00:00:00.000january469260.04558913398524468329437939744280.42117614420
    9
    2025-01-09 00:00:00.000january473150.049418082873804702229342671248080.4705942229121
    10
    2025-01-10 00:00:00.000january451790.02466410898370450908947189151780.4952583319021
    11
    2025-01-11 00:00:00.000january445330.007630763547210445023151642453880.5028890954021
    12
    2025-01-12 00:00:00.000january444780.007820397431149444156356090255370.5107094929021
    13
    2025-01-13 00:00:00.000january477300.061029689112064758714360863257430.5717391823354
    14
    2025-01-14 00:00:00.000january453910.01567127497294453395265402360370.587410457256
    15
    2025-01-15 00:00:00.000january457750.02951769102300457205569979863370.616928148662
    16
    2025-01-16 00:00:00.000january451700.02799431279254451046674496865910.6449224608062
    17
    2025-01-17 00:00:00.000january451900.03845502396208451058579015867990.6833774847365
    18
    2025-01-18 00:00:00.000january452150.07982698586164451278883537369630.7632044706671
    19
    2025-01-19 00:00:00.000january475590.22338142541124742313688293270750.986585896374
    20
    2025-01-20 00:00:00.000january462520.15276165571264613012292918472011.139347552074
    59
    6KB
    4s