Mrfti2024-03-23 03:54 PM copy copy
    Updated 9 days ago
    -- forked from 2024-03-23 03:54 PM copy @ https://flipsidecrypto.xyz/studio/queries/0a799632-fe7c-4bf7-ad74-c7c34eb1de8c

    select
    date_trunc('hour', block_timestamp) as time,
    sum(amount_in) as "Traded $OP",
    sum ("Traded $OP") over (order by time) as "Cumulative trading volume"
    from
    optimism.defi.ez_dex_swaps
    where
    token_in = lower('0x4200000000000000000000000000000000000042')
    AND time > '2024-10-01 00:00:00.000'
    group by 1
    order by 1

    Last run: 9 days agoAuto-refreshes every 12 hours
    TIME
    Traded $OP
    Cumulative trading volume
    1
    2024-10-01 01:00:00.00051181.826791151181.8267911
    2
    2024-10-01 02:00:00.00045897.93545762397079.762248723
    3
    2024-10-01 03:00:00.00032675.417161681129755.179410405
    4
    2024-10-01 04:00:00.00087618.15389217217373.333302574
    5
    2024-10-01 05:00:00.00065821.884862104283195.218164678
    6
    2024-10-01 06:00:00.00048562.310088119331757.528252797
    7
    2024-10-01 07:00:00.00061681.933838246393439.462091043
    8
    2024-10-01 08:00:00.00081926.404431759475365.866522802
    9
    2024-10-01 09:00:00.00056189.305141114531555.171663916
    10
    2024-10-01 10:00:00.00042540.746304089574095.917968005
    11
    2024-10-01 11:00:00.00034417.848100627608513.766068632
    12
    2024-10-01 12:00:00.000139572.186262482748085.952331115
    13
    2024-10-01 13:00:00.000211271.352767867959357.305098981
    14
    2024-10-01 14:00:00.000278892.0474702521238249.35256923
    15
    2024-10-01 15:00:00.000364020.7445018161602270.09707105
    16
    2024-10-01 16:00:00.000290712.8614953381892982.95856639
    17
    2024-10-01 17:00:00.000432266.0941473422325249.05271373
    18
    2024-10-01 18:00:00.000126655.7381804142451904.79089414
    19
    2024-10-01 19:00:00.000102002.7276638132553907.51855796
    20
    2024-10-01 20:00:00.000125334.5782969412679242.0968549
    ...
    4673
    278KB
    39s