rezarwzbasic volume and trade transaction copy
    Updated 2025-04-14
    with all_trades as (
    select
    'Blast' as blockchain,
    tr1.tx_hash,
    lo.block_timestamp,
    tr1.symbol as in_token,
    tr2.symbol as out_token,
    tr1.AMOUNT_USD as amount_in,
    tr2.AMOUNT_USD as amount_out,
    lo.decoded_log:taker as taker,
    CASE
    when amount_in is not null then amount_in
    else amount_out
    end as volume_usd,
    CASE
    WHEN in_token < out_token THEN in_token || '-' || out_token
    ELSE out_token || '-' || in_token
    END AS Pairs_trade
    from
    Blast.core.ez_decoded_event_logs lo
    left join Blast.core.ez_token_transfers tr1 on lo.tx_hash = tr1.tx_hash
    left join Blast.core.ez_token_transfers tr2 on tr1.tx_hash = tr2.tx_hash
    where
    lo.contract_address = '0xb1a49c54192ea59b233200ea38ab56650dfb448c'
    and lo.event_name = 'OrderComplete'
    and tr1.from_Address = tr1.origin_from_address
    and tr1.to_Address = '0xb1a49c54192ea59b233200ea38ab56650dfb448c'
    and tr2.from_Address = '0xb1a49c54192ea59b233200ea38ab56650dfb448c'
    and tr2.to_Address = tr2.origin_from_address
    union all
    select
    'Arbitrum' as blockchain,
    tr1.tx_hash,
    lo.block_timestamp,
    tr1.symbol as in_token,
    tr2.symbol as out_token,
    Last run: 15 days agoAuto-refreshes every 24 hours
    DATE
    BLOCKCHAIN
    Volume(USD)
    # of Trades
    1
    2024-07-14 00:00:00.000Blast199493.723491656105
    2
    2024-12-07 00:00:00.000Blast176.372932857
    3
    2024-03-03 00:00:00.000Blast50508.049216607156
    4
    2024-04-16 00:00:00.000Blast3898296.604187151723
    5
    2024-04-19 00:00:00.000Blast4394523.840677823473
    6
    2024-05-14 00:00:00.000Blast3542816.53385891416
    7
    2024-05-21 00:00:00.000Blast1567622.614037231075
    8
    2024-06-13 00:00:00.000Blast808273.925567788464
    9
    2024-03-13 00:00:00.000Blast72628.42682900151
    10
    2024-09-23 00:00:00.000Blast5.99592061326
    11
    2025-01-04 00:00:00.000Arbitrum10394.60241
    12
    2024-12-01 00:00:00.000Arbitrum15624.9517909237
    13
    2024-11-05 00:00:00.000Blast13.9922192761
    14
    2024-11-14 00:00:00.000Arbitrum741.4852348583
    15
    2024-12-16 00:00:00.000Arbitrum21689.3031496266
    16
    2024-09-25 00:00:00.000Arbitrum23.108952
    17
    2024-08-08 00:00:00.000Arbitrum12.3415405013
    18
    2024-09-19 00:00:00.000Arbitrum415.9435012633
    19
    2025-01-18 00:00:00.000Arbitrum555.4090890622
    20
    2024-10-24 00:00:00.000Blast4.7106954741
    ...
    281
    15KB
    335s