0xHaM-dTest 2
    Updated 2025-03-30
    WITH ronin_to_ethereum_native_bridge as
    (
    with bridge_data as
    (
    select regexp_substr_all(SUBSTR(data,3),'.{64}') as segmented
    , 'ronin' as blockchain
    , 'axie infinity: ronin bridge v2' as platform
    , block_number
    , block_timestamp
    , tx_hash
    , utils.udf_hex_to_int(segmented[8]) as source_chain_id
    , utils.udf_hex_to_int(segmented[2]) as destination_chain_id
    , contract_address as bridge_address
    , concat('0x',substr(segmented[6],25,40)) as source_address
    , concat('0x',substr(segmented[3],25,40)) as destination_address
    , 'outbound' as direction
    , concat('0x',substr(segmented[7],25,40)) as token_address
    , 'WETH' as token_symbol
    , utils.udf_hex_to_int(segmented[11]) as amount_raw
    from ronin.core.fact_event_logs
    where 1=1
    and block_timestamp >= '2025-01-01'
    and topics[0]=lower('0xf313c253a5be72c29d0deb2c8768a9543744ac03d6b3cafd50cc976f1c2632fc')
    )
    select
    bd.blockchain::VARCHAR as blockchain
    , bd.platform::VARCHAR as platform
    , bd.block_number::INT as block_number
    , bd.block_timestamp::TIMESTAMP as block_timestamp
    , bd.tx_hash::VARCHAR as tx_hash
    , bd.bridge_address::VARCHAR as bridge_address
    , bd.source_address::VARCHAR as source_address
    , bd.destination_address::VARCHAR as destination_address
    , bd.direction::VARCHAR as direction
    , bd.token_address::VARCHAR as token_address
    , dc.symbol::VARCHAR as token_symbol
    Last run: 25 days ago
    DATE
    TOKEN_SYMBOL
    BRIDGE_TRANSACTIONS
    USERS
    VOLUME
    1
    2025-03-13 00:00:00.000WETH454040515.312880778
    2
    2025-03-17 00:00:00.000AXS10719577.508297445
    3
    2025-02-07 00:00:00.000PIXEL1197.6088858
    4
    2025-01-09 00:00:00.000AXS4431969.937934243
    5
    2025-01-21 00:00:00.000AXS32143.619973614
    6
    2025-03-21 00:00:00.000APRS212342.3568
    7
    2025-01-18 00:00:00.000WETH282598436.155284223
    8
    2025-01-23 00:00:00.000WETH332596848.627338342
    9
    2025-01-01 00:00:00.000AXS433138.381239647
    10
    2025-02-19 00:00:00.000Farm Land44
    11
    2025-02-01 00:00:00.000Farm Land22
    12
    2025-03-15 00:00:00.000AXS332663.37877007
    13
    2025-03-26 00:00:00.000USDC141272405.565387717
    14
    2025-02-06 00:00:00.000AXS3210232.505
    15
    2025-01-04 00:00:00.000APRS2219048.596349626
    16
    2025-02-07 00:00:00.000BANANA113.55794
    17
    2025-02-02 00:00:00.000LUAUSD2112574.61
    18
    2025-03-25 00:00:00.000USDC2013176034.26059519
    19
    2025-02-27 00:00:00.000Farm Land81
    20
    2025-01-17 00:00:00.000APRS114492.95
    ...
    481
    25KB
    7s