Sbhn_NPCEL Swap Volume over the past 90 days
    Updated 2023-04-13
    select date_trunc('day',block_timestamp) as date , sum(amount_in) as total
    from ethereum.core.ez_dex_swaps
    where symbol_in = 'CEL'
    AND date >= CURRENT_DATE - 90
    group by 1

    UNION

    select date_trunc('day',block_timestamp) as date , sum(amount_out) as total
    from ethereum.core.ez_dex_swaps
    where symbol_out = 'CEL'
    AND date >= CURRENT_DATE - 90
    group by 1
    order by 1
    Run a query to Download Data