freeman_7Token Bridged Volume 30 days
    Updated 2024-09-04
    with bridge_transactions as (
    select
    distinct tx_hash as hash,
    From
    arbitrum.core.ez_decoded_event_logs
    Where
    event_name = 'LiFiTransferStarted'
    and block_timestamp::date >= current_timestamp - interval '30 days'
    And ORIGIN_TO_ADDRESS = lower('0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae')
    And decoded_log:bridgeData:integrator = 'jumper.exchange'
    ),

    token_bridge_amount as (
    select
    symbol,
    contract_address,
    amount_usd
    from (
    select
    distinct tx_hash as hash,
    contract_address,
    amount_usd,
    symbol
    from arbitrum.core.ez_token_transfers
    where block_timestamp::date >= current_timestamp - interval '30 days'
    ) TF
    join bridge_transactions BT ON BT.hash = TF.hash
    )

    select
    symbol,
    sum(amount_usd) Amount_Bridged,
    from token_bridge_amount
    group by contract_address,symbol
    having Amount_Bridged > 0
    order by Amount_Bridged desc
    QueryRunArchived: QueryRun has been archived