Afonso_DiazOvertime
    Updated 4 hours ago
    with

    main as (
    select
    tx_hash,
    block_timestamp,
    origin_from_address as user,
    symbol_in,
    symbol_out,
    token_in,
    token_out,
    greatest(symbol_in, symbol_out) || ' - ' || least(symbol_in, symbol_out) as token_pair,
    nvl(amount_in_usd, amount_out_usd) as amount_usd,
    'Ethereum' as chain
    from
    ethereum.defi.ez_dex_swaps
    where
    amount_usd < 1e7
    and platform ilike 'dodo%'

    union all

    select
    tx_hash,
    block_timestamp,
    origin_from_address as swapper,
    symbol_in,
    symbol_out,
    token_in,
    token_out,
    greatest(symbol_in, symbol_out) || ' - ' || least(symbol_in, symbol_out) as token_pair,
    nvl(amount_in_usd, amount_out_usd) as amount_usd,
    'Polygon' as chain
    from
    polygon.defi.ez_dex_swaps
    where
    Last run: about 4 hours ago
    DATE
    TXNS
    USERS
    VOLUME_USD
    AVERAGE_AMOUNT_USD
    MEDIAN_AMOUNT_USD
    NEW_USERS
    RETURNING_USERS
    CUMULATIVE_TXNS
    CUMULATIVE_VOLUME_USD
    1
    2024-01-01 00:00:00.00072485190301318255948.6717701.125893545115.98133595671763851322946643.53
    2
    2024-02-01 00:00:00.000145020406511457953651.639768.795489527313.1928944117072214052780900295.16
    3
    2024-03-01 00:00:00.000389153752502428571726.666078.282580259218.825562119629269537941070192207.37
    4
    2024-04-01 00:00:00.000357345833322947607630.938015.270281986404.85963223700230622638641620480.71
    5
    2024-05-01 00:00:00.000235191578545119644670.2121272.820715057426.6453720120653139552523334014543.09
    6
    2024-06-01 00:00:00.000165564476764035865364.7123602.79409273510.7529071186053869696816765659.87
    7
    2024-07-01 00:00:00.000206892447055924122536.3427795.03479628672.8752701217693116033418214369872.88
    8
    2024-08-01 00:00:00.000295624775707565527657.2424579.441964529465.425742620144194888135694012849.78
    9
    2024-09-01 00:00:00.000257732528504794470649.4517404.882070992360.363205420796165325728128485192.54
    10
    2024-10-01 00:00:00.000185688447262860296336.9514761.905517852255.315277531697375766910352342600.76
    11
    2024-11-01 00:00:00.000195773481251937904735.789482.102682716268.37299251820095344212290247336.54
    12
    2024-12-01 00:00:00.00018501245830675280603.943467.939276914182.2428835169955719817492046263.81
    13
    2025-01-01 00:00:00.000390016454690694.861147.99188937879.7529058-2741339004690694.86
    13
    1KB
    62s