zakkisyed#3 Solana Protocol Feature - Saber
    Updated 2023-03-14
    select
    date_trunc(day,block_timestamp) as date,
    count(distinct swapper) as swapper_count,
    sum(swap_from_amount) as swapped_amount
    --sum(swap_from_amount) over(order by date) as Cummulative_amount

    from solana.core.fact_swaps

    where swap_program = 'saber'
    and block_timestamp >='2022-01-01'
    and succeeded = 'TRUE'

    group by 1
    order by 1 desc


    Run a query to Download Data