akbaridriaaccross bridge 2
    Updated 2022-06-22
    with data_eth as (
    select
    block_timestamp::date as date,
    origin_from_address as address,
    'ETH' as symbol,
    amount_usd
    from
    ethereum.core.ez_eth_transfers
    where
    origin_function_signature = '0x49228978'
    and
    eth_to_address = '0x4d9079bb4165aeb4084c526a32695dcfd2f77381'
    )
    , data_tokens as (
    select
    block_timestamp::date as date,
    origin_from_address as address,
    symbol,
    amount_usd
    from
    ethereum.core.ez_token_transfers
    where
    origin_function_signature = '0x49228978'
    and
    to_address = '0x4d9079bb4165aeb4084c526a32695dcfd2f77381'
    )
    , data_all as (
    select * from data_eth
    union all
    select * from data_tokens
    )
    select
    date,
    symbol,
    count(*) as total_transactions,
    sum(amount_usd) as total,
    Run a query to Download Data