KeyrockDaily Volume Overtime
    Updated 2024-01-26
    -- forked from andreafiandro / Hourly Volume overtime @ https://flipsidecrypto.xyz/andreafiandro/q/uVW8x51OzS3I/hourly-volume-overtime

    SELECT *
    FROM
    (SELECT
    date_trunc('day', block_timestamp) AS ts,
    COALESCE(SUM((ABS(amount1_usd)+ABS(amount0_usd))/2), 0) AS swap_volume
    FROM ethereum.uniswapv3.ez_swaps
    WHERE
    POOL_ADDRESS = '{{pool_address}}'
    GROUP BY 1
    )
    ORDER BY ts DESC


    Last run: over 1 year ago
    TS
    SWAP_VOLUME
    1
    2024-01-30 00:00:00.0002503663.83
    2
    2024-01-29 00:00:00.00015187537.595
    3
    2024-01-28 00:00:00.0004379254.955
    4
    2024-01-27 00:00:00.0006460551.25
    5
    2024-01-26 00:00:00.00016519944.815
    6
    2024-01-25 00:00:00.00013544753.845
    7
    2024-01-24 00:00:00.0006106793.39
    8
    2024-01-23 00:00:00.00043206671.75
    9
    2024-01-22 00:00:00.00014777833.1
    10
    2024-01-21 00:00:00.0002058190.08
    11
    2024-01-20 00:00:00.0003994481.31
    12
    2024-01-19 00:00:00.00014120872.6
    13
    2024-01-18 00:00:00.00011158707.845
    14
    2024-01-17 00:00:00.0007540678.65
    15
    2024-01-16 00:00:00.00010943083.57
    16
    2024-01-15 00:00:00.00010598569.94
    17
    2024-01-14 00:00:00.00018971663.765
    18
    2024-01-13 00:00:00.00026263097.495
    19
    2024-01-12 00:00:00.000102835158.79
    20
    2024-01-11 00:00:00.00075823517.35
    ...
    1002
    39KB
    2s