binhachonDAI Volume - DAI volume
    Updated 2022-01-19
    select
    coalesce(origin_label_type, 'Others') as sender_group,
    coalesce(to_label_type, 'Others') as receiver_group,
    sum(amount) as amount
    from ethereum.udm_events
    where contract_address = '0x6b175474e89094c44da98b954eedeac495271d0f'
    and from_address != '0x0000000000000000000000000000000000000000'
    and to_address != '0x0000000000000000000000000000000000000000'
    and block_timestamp > getdate() - interval'30 days'
    group by sender_group, receiver_group
    order by amount desc
    limit 1000
    Run a query to Download Data