Query editor
selectt.block_time, t.tx_hash, get_href(get_chain_explorer_tx_hash(t.blockchain, cast(t.tx_hash as varchar)), "LEFT"(CAST(t.tx_hash AS varchar), 6) || '...' || "RIGHT"(CAST(t.tx_hash AS varchar), 4)) AS tx_hash_url, t.amount_usd as vol, cast(t.amount_usd as double) * (cast(s.fee / 1e6 as double)) as swap_fee, cast(s.fee as double) / 100 as dynamic_fee_tier -- fee tier is in 6 decimal points, divde by 100 here to get fee tier in bps unit, t.token_bought_symbol, t.token_sold_symbol, t.token_bought_amount, t.token_sold_amount, 5 as vanilla_fee_tierfrom uniswap_v4_unichain.PoolManager_evt_Swap sjoin dex.trades ton t.block_number = s.evt_block_numberand t.evt_index = s.evt_indexand t.tx_hash = s.evt_tx_hashand t.blockchain = 'unichain'and t.project='uniswap' and t.version = '4'and t.block_date >= date('2025-06-10')where s.id = 0x410723c1949069324d0f6013dba28829c4a0562f7c81d0f7cb79ded668691e1f -- ETH/WBTC0 (Aegis)order by 1 desc