adriaparcerisasmultichain july
    Updated 2023-07-12

    with
    arbitrum_inflows as (
    select
    trunc(block_timestamp,'day') as date,

    count(distinct tx_hash) as transactions,
    count(distinct origin_from_address) as active_users,
    sum(amount_usd) as volume
    from arbitrum.core.ez_token_transfers x
    join arbitrum.core.dim_labels z on x.to_address=z.address
    where amount_usd<1e9
    and block_timestamp >=CURRENT_DATE-INTERVAL '1 WEEK'
    and project_name ilike '%multichain%'
    group by 1

    UNION

    select
    trunc(block_timestamp,'day') as date,

    count(distinct tx_hash) as transactions,
    count(distinct origin_from_address) as active_users,
    sum(amount_usd) as volume
    from arbitrum.core.ez_eth_transfers x
    join arbitrum.core.dim_labels z on x.origin_to_address=z.address
    where amount_usd<1e9
    and block_timestamp >=CURRENT_DATE-INTERVAL '1 WEEK'
    and project_name ilike '%multichain%'
    group by 1
    ),
    arbitrum_outflows as (
    select
    trunc(block_timestamp,'day') as date,

    count(distinct tx_hash) as transactions,
    Run a query to Download Data