MLDZMNbridge asset over time
    Updated 2022-06-22
    with tb1 as (select ----Bridge Transactions (Across)
    *
    from ethereum.core.FACT_EVENT_LOGS
    where ORIGIN_TO_ADDRESS = lower('0x4D9079Bb4165aeb4084c526a32695dCfd2F77381')
    and ORIGIN_FUNCTION_SIGNATURE='0x49228978'
    and ORIGIN_TO_ADDRESS!=CONTRACT_ADDRESS
    and TX_STATUS='SUCCESS'
    and BLOCK_TIMESTAMP>=CURRENT_DATE-14
    --group by 1 having assets is not null
    --order by 1
    )

    select
    BLOCK_TIMESTAMP::date as day,
    SYMBOL,
    sum(amount) as volume,
    sum(amount_usd) as USD_volume,
    count(distinct tx_hash) as times

    from ethereum.core.ez_token_transfers
    where tx_hash in (select tx_hash from tb1)
    group by 1,2
    Run a query to Download Data