0-MIDtop 5 chain by users
    Updated 2024-08-05

    with tab1 as (
    select
    ORIGIN_FROM_ADDRESS
    from arbitrum.core.ez_decoded_event_logs
    where EVENT_NAME='LiFiTransferStarted'
    and DECODED_LOG:bridgeData:integrator='jumper.exchange'
    and ORIGIN_TO_ADDRESS='0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae'
    )
    select DESTINATION_CHAIN_NAME
    ,count(distinct RECEIVER) as users
    ,count(distinct TX_HASH) as txs
    from aptos.defi.fact_bridge_activity
    where RECEIVER in (select ORIGIN_FROM_ADDRESS from tab1)
    group by 1
    order by 2 desc
    limit 5



    QueryRunArchived: QueryRun has been archived