SandeshRonin bridge complete single optimized
    Updated 2025-02-25
    WITH chain_ids AS (
    SELECT *
    FROM (
    VALUES
    (1, 'ethereum', 'Ethereum Mainnet'),
    (10, 'optimism', 'Optimism'),
    (137, 'polygon', 'Polygon'),
    (42161, 'arbitrum', 'Arbitrum One'),
    (43114, 'avalanche', 'Avalanche C-Chain'),
    (56, 'bsc', 'BNB Smart Chain'),
    (8453, 'base', 'Base'),
    (2020, 'ronin', 'Ronin'),
    (5, 'ethereum', 'Goerli Testnet'),
    (11155111, 'ethereum', 'Sepolia Testnet'),
    (80001, 'polygon', 'Mumbai Testnet'),
    (421613, 'arbitrum', 'Arbitrum Goerli'),
    (97, 'bsc', 'BSC Testnet'),
    (43113, 'avalanche', 'Avalanche Fuji Testnet'),
    (84531, 'base', 'Base Goerli')
    ) AS v (chain_id, blockchain, network_name)
    ),
    eth_to_ronin_native as (
    select
    'ethereum'::VARCHAR as blockchain
    , 'axie infinity: ronin bridge v2'::VARCHAR as platfrom
    , edl.block_number::INT as block_number
    , edl.block_timestamp::TIMESTAMP as block_timestamp
    , edl.tx_hash::VARCHAR as tx_hash
    , 'ethereum'::VARCHAR as source_chain
    , 'ronin'::VARCHAR as destination_chain
    , edl.origin_to_address::VARCHAR as bridge_address
    , edl.origin_from_address::VARCHAR as source_address
    , edl.decoded_log['receipt']['ronin']['addr']::VARCHAR as destination_address
    , 'outbound'::VARCHAR as direction
    , edl.decoded_log['receipt']['mainchain']['tokenAddr']::VARCHAR as token_address
    , coalesce(pr.symbol,dc.symbol)::VARCHAR as token_symbol
    Last run: 20 days ago
    TIME
    USERS_BRIDGING_IN
    USERS_BRIDGING_OUT
    TOKEN_SYMBOL
    VOLUME_DAILY
    VOLUME_ADJ_DAILY
    TOTAL_VOLUME
    1
    2025-02-16 00:00:00.000179USDC34689.05377279512981.532196855-4340929.60576554
    2
    2025-02-19 00:00:00.00002KONGZ VX00-503302.4586085
    3
    2025-02-10 00:00:00.00061AXS1355.053110009486.013110009-5943790.45186961
    4
    2025-02-19 00:00:00.00010APRS738759.04952451738759.04952451-503302.4586085
    5
    2025-02-03 00:00:00.00010APRS1701.8965425821701.896542582-1169579.20745337
    6
    2025-02-11 00:00:00.00010APRS1885.8812199491885.881219949-5802828.37818573
    7
    2025-02-16 00:00:00.00070APRS12681.92791441312681.927914413-4340929.60576554
    8
    2025-02-14 00:00:00.00043AXS24742.8363245821483.468819031-4992111.82401613
    9
    2025-02-21 00:00:00.0005142WETH326044.5092913467742.878041282210801.608932366
    10
    2025-02-18 00:00:00.0002000-3178035.6844653
    11
    2025-02-20 00:00:00.00023PIXEL1687.591948255-473.354439057-277023.238081645
    12
    2025-02-22 00:00:00.000310USDC50233.374092556-50007.957351789398397.631960151
    13
    2025-02-03 00:00:00.00010BANANA92.20310245492.203102454-1169579.20745337
    14
    2025-02-21 00:00:00.00001PIXEL8.694064173-8.694064173210801.608932366
    15
    2025-02-08 00:00:00.00051BANANA2261.9061794712189.585739607-4909502.76912639
    16
    2025-02-07 00:00:00.000198JAIHOZ8144.220895535911.690687539-5689575.91839258
    17
    2025-02-19 00:00:00.00040BANANA1064.5342282751064.534228275-503302.4586085
    18
    2025-02-14 00:00:00.000813USDC54523.407735996-48966.988282869-4992111.82401613
    19
    2025-02-02 00:00:00.00002ZENT9386.747368877-9386.747368877-1072681.8659604
    20
    2025-02-12 00:00:00.00040ZENT5160.0799139025160.079913902-5364830.5601258
    ...
    279
    23KB
    70s