Updated 2025-03-08
    with

    main as (
    select
    tx_hash,
    block_timestamp,
    origin_to_address as user,
    'ETH' as symbol,
    amount,
    amount_usd,
    'Bridge to Ink' as type
    from
    ink.core.ez_native_transfers
    where
    to_address = origin_to_address
    and from_address = origin_from_address
    and from_address = '0xf70da97812cb96acdf810712aa562db8dfa3dbef'
    and tx_hash not in (select distinct tx_hash from ink.core.ez_decoded_event_logs where event_name = 'Swap')

    union all

    select
    tx_hash,
    block_timestamp,
    to_address as user,
    symbol,
    amount,
    amount_usd,
    'Bridge to Ink' as type
    from
    ink.core.ez_token_transfers
    where
    from_address = '0x836caf2409d91df0bda01bc9f3cec524ba1c571d'
    and origin_to_address = from_address
    and tx_hash not in (select distinct tx_hash from ink.core.ez_decoded_event_logs where event_name = 'Swap')

    Last run: about 1 month ago
    TRANSACTIONS
    USERS
    DAILY_AVERAGE_TRANSACTIONS
    DAILY_AVERAGE_USERS
    1
    5216691354724012.8384621042.092308
    1
    41B
    14s