SniperTotal transaction volume and swaps (from) for USDC, USDT, and DAI on Osmosis(The last three months)
    Updated 2022-06-28
    select LABEL, count(DISTINCT trader) as total_traders ,count(DISTINCT tx_id) as total_swaps ,sum(from_amount/pow(10,from_decimal)) as total_volume
    from osmosis.core.fact_swaps a join osmosis.core.dim_labels b on a.from_currency = b.ADDRESS
    where from_currency in (
    'ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858',
    'ibc/F292A17CF920E3462C816CBE6B042E779F676CAB59096904C4C1C966413E3DF5',
    'ibc/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7',
    'ibc/9F9B07EF9AD291167CF5700628145DE1DEB777C2CFC7907553B24446515F6D0E',
    'ibc/8242AD24008032E457D2E12D46588FD39FB54FB29680C6C7663D296B383C37C4'
    ) and block_timestamp::date >= CURRENT_DATE - 90
    group by 1


    Run a query to Download Data