rezarwzTotal volume and # of trades copy
    Updated 2025-04-15
    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: 14 days agoAuto-refreshes every 24 hours
    DATE
    Volume(USD)
    Total Volume(USD)
    # of Trades
    # of Total Trades
    1
    2024-04-15 00:00:00.0007667998.22549023159088158.758379212279778
    2
    2024-04-13 00:00:00.00013281224.3529743141589949.218316486174058
    3
    2024-05-21 00:00:00.0001567622.61403723295129947.0214741075158257
    4
    2024-04-06 00:00:00.00013868541.682701249542218.5748236779630894
    5
    2024-04-21 00:00:00.0005856520.29185121183440284.728063274493735
    6
    2024-05-27 00:00:00.00012518011.3824136344642004.1873845064178480
    7
    2024-04-09 00:00:00.0007397201.1450448678146460.7850435400044106
    8
    2024-05-18 00:00:00.0002928475.80897044283309824.0430651265151346
    9
    2024-06-06 00:00:00.0009399640.32387946419877431.4806192477211173
    10
    2024-08-07 00:00:00.00079.091523096500056232.5491913248744
    11
    2024-03-19 00:00:00.00047032.1965944353104661.644522061342657
    12
    2024-09-03 00:00:00.00025.039834616500070860.4830275248812
    13
    2024-06-18 00:00:00.000400494.189620928466163811.547146147234666
    14
    2024-11-21 00:00:00.000669.884500085021.1434421248951
    15
    2024-08-01 00:00:00.0001514.99699972500054579.0331772248725
    16
    2024-09-16 00:00:00.0009.996410318500073799.7746771248839
    17
    2024-04-05 00:00:00.0005889661.2833076635673676.8921224485623098
    18
    2024-04-26 00:00:00.0003379312.0471596201838689.3355971944104779
    19
    2024-05-02 00:00:00.0002290319.55462152219207873.8656341864117955
    20
    2024-07-16 00:00:00.00025554.080589442494731613.55708415244436
    ...
    269
    18KB
    109s