datavortexchain route
    Updated 2025-05-04
    WITH sender_transactions as (
    select
    tx_hash,
    block_timestamp,
    old_owner_id as sender_address,
    amount_raw as sent_amount,
    token_id as sent_token
    from near.defi.fact_intents
    where log_event = 'mt_transfer'
    and RECEIPT_SUCCEEDED = TRUE
    qualify row_number() over (partition by tx_hash, log_index order by log_event_index desc) = 1
    ),
    receiver_transactions as (
    select
    tx_hash,
    block_timestamp,
    new_owner_id as receiver_address,
    token_id as received_token
    from near.defi.fact_intents
    where log_event = 'mt_transfer'
    and RECEIPT_SUCCEEDED = TRUE
    qualify row_number() over (partition by tx_hash, log_index order by log_event_index asc) = 1
    ),
    swap_details as (
    select
    s.tx_hash,
    s.block_timestamp,
    s.sender_address,
    s.sent_amount,
    split(s.sent_token, ':')[1] :: string as input_token,
    split(r.received_token, ':')[1] :: string as output_token
    from sender_transactions s
    left join receiver_transactions r using(tx_hash)
    where split(s.sent_token, ':')[1] :: string != split(r.received_token, ':')[1] :: string
    or r.received_token is null
    ),
    Last run: 25 days ago
    SWAP_PAIR
    SWAP_ROUTE
    TOTAL_SWAPS
    TOTAL_VOLUME_USD
    1
    ZEC-NEARZcash -> Near5838819645.792586169
    2
    NEAR-ZECNear -> Zcash3697462030.511731441
    3
    BTC-USDCBitcoin -> Ethereum2087720902.06487922
    4
    USDC-BTCEthereum -> Bitcoin19311320884.45600959
    5
    NEAR-USDCNear -> Ethereum1869857597.928069821
    6
    USDC-NEAREthereum -> Near1654606295.462238321
    7
    XRP-USDCRipple -> Ethereum1454
    8
    USDC-XRPEthereum -> Ripple14539026.396420057
    9
    USDC-DOGEEthereum -> Doge12803894.528806866
    10
    ZEC-USDTZcash -> Ethereum1077444276.223079695
    10
    532B
    5s