nsa2000Total number of ETH swaps from derivatives tokens thereof
    Updated 2022-09-13
    SELECT
    COUNT(DISTINCT tx_hash) as "swap numbers",
    case
    when TOKEN_OUT = '0xe95a203b1a91a908f9b9ce46459d101078c2c3cb' THEN 'aETH'
    when TOKEN_OUT = '0xae7ab96520de3a18e5e111b5eaab095312d7fe84' THEN 'stETH'
    when TOKEN_OUT = '0xae78736cd615f374d3085123a210448e74fc6393' THEN 'rETH'
    end as token_name,
    sum (AMOUNT_OUT_USD) as "USD volume"
    from ethereum.core.ez_dex_swaps
    where TOKEN_OUT in ('0xe95a203b1a91a908f9b9ce46459d101078c2c3cb', '0xae7ab96520de3a18e5e111b5eaab095312d7fe84' , '0xae78736cd615f374d3085123a210448e74fc6393')
    group by 2
    Run a query to Download Data