sarathopensea fee6
    Updated 2022-07-29
    with hashes as (select tx_id from flipside_prod_db.polygon.transactions
    where to_address='0xf715beb51ec8f63317d66f491e37e7bb048fcc2d' and function_signature='0xbbbfa60c')

    select sum(amount_usd), symbol
    from flipside_prod_db.polygon.udm_events
    where to_address in ('0x5b3256965e7c3cf26e11fcaf296dfc8807c01073', '0x8de9c5a032463c561423387a9648c5c7bcc5bc90')
    and tx_id in(select tx_id from hashes)
    and amount_usd is not null
    group by symbol

    Run a query to Download Data