mo115magpie
    Updated 2024-04-24
    select
    'Arbitrum' as network
    , sum(AMOUNT_USD)as total_USD
    ,count(distinct TX_HASH) as txs
    , count(distinct FROM_ADDRESS) as wallets
    from arbitrum.core.ez_token_transfers
    where ORIGIN_TO_ADDRESS = '0xcf32c5bb41f7a302298a2d2072155800871baad3'
    and TO_ADDRESS = '0xe8eda9dfedb228aa0cfd2c2f809a4418d0319eb2'
    and BLOCK_TIMESTAMP >= '2024-04-22'

    union

    select
    'Polygon' as network
    , sum(AMOUNT_USD)as total_USD
    ,count(distinct TX_HASH) as txs
    , count(distinct FROM_ADDRESS) as wallets
    from polygon.core.ez_token_transfers
    where ORIGIN_TO_ADDRESS = '0xcf32c5bb41f7a302298a2d2072155800871baad3'
    and TO_ADDRESS = '0xe8eda9dfedb228aa0cfd2c2f809a4418d0319eb2'
    and BLOCK_TIMESTAMP >= '2024-04-22'

    union

    select
    'Optimism' as network
    , sum(AMOUNT_USD)as total_USD
    ,count(distinct TX_HASH) as txs
    , count(distinct FROM_ADDRESS) as wallets
    from optimism.core.ez_token_transfers
    where ORIGIN_TO_ADDRESS = '0xcf32c5bb41f7a302298a2d2072155800871baad3'
    and TO_ADDRESS = '0xe8eda9dfedb228aa0cfd2c2f809a4418d0319eb2'
    and BLOCK_TIMESTAMP >= '2024-04-22'

    union

    QueryRunArchived: QueryRun has been archived