jackguyExpressed vs. regular transactions over time
    Updated 2024-01-29
    -- forked from Expressed vs. regular transactions by chain @ https://flipsidecrypto.xyz/edit/queries/b6a881a3-c81f-4ceb-b509-c5c71009896d

    with base_m as(
    SELECT
    a.date,
    coalesce(expressed_txs,0)as n_express,
    coalesce(n_txs,0) as txs
    FROM (
    SELECT
    date_trunc('week', block_timestamp) as date,
    count(DISTINCT tx_hash) as n_txs
    FROM base.core.fact_token_transfers
    WHERE origin_from_address = '0xd36aac0c9676e984d72823fb662ce94d3ab5e551'
    AND origin_to_address = '0xce16f69375520ab01377ce7b88f5ba8c48f8d666'
    GROUP BY 1 ) a
    LEFT JOIN (
    SELECT
    date_trunc('week', block_timestamp) as date,
    count(DISTINCT tx_hash) as expressed_txs
    FROM base.core.fact_token_transfers
    WHERE origin_from_address = '0xe743a49f04f2f77eb2d3b753ae3ad599de8cea84'
    AND origin_to_address = '0xce16f69375520ab01377ce7b88f5ba8c48f8d666'
    GROUP BY 1
    ) b ON a.date = b.date
    )
    ,
    arbitrum_m as (
    SELECT
    a.date,
    coalesce(expressed_txs,0)as n_express,
    coalesce(n_txs,0) as txs
    FROM (
    SELECT
    date_trunc('week', block_timestamp) as date,
    count(DISTINCT tx_hash) as n_txs
    FROM arbitrum.core.ez_token_transfers
    Last run: about 1 year ago
    DATE
    N_TXS
    BOOST_TX
    REQULAR_TX
    BOOST_PERCENT
    REQULAR_PERCENT
    1
    2024-01-29 00:00:00.000138313414296.96313.0369
    2
    2024-01-22 00:00:00.000209322000592795.57144.4286
    3
    2024-01-15 00:00:00.0003290431603130196.04613.9539
    4
    2024-01-08 00:00:00.0001178610775101191.4228.578
    5
    2024-01-01 00:00:00.000120341121681893.20266.7974
    6
    2023-12-25 00:00:00.0001260411426117890.65389.3462
    7
    2023-12-18 00:00:00.0001265411455119990.52479.4753
    8
    2023-12-11 00:00:00.000106748606206880.625819.3742
    9
    2023-12-04 00:00:00.000112868471281575.057624.9424
    10
    2023-11-27 00:00:00.00088036920188378.609621.3904
    11
    2023-11-20 00:00:00.00085266674185278.278221.7218
    12
    2023-11-13 00:00:00.000101988339185981.770918.2291
    13
    2023-11-06 00:00:00.00095087389211977.713522.2865
    14
    2023-10-30 00:00:00.00091586617254172.253827.7462
    15
    2023-10-23 00:00:00.0005981499199083.447616.5524
    16
    2023-10-16 00:00:00.00073206166115484.23515.765
    17
    2023-10-09 00:00:00.00076636537112685.30614.694
    18
    2023-10-02 00:00:00.0007944700394188.154611.8454
    19
    2023-09-25 00:00:00.0007599673986088.682711.3173
    20
    2023-09-18 00:00:00.0006468559187786.440913.5591
    63
    3KB
    170s