Query editor
with pool as (selectdistinct addressfrom base.creation_traceswhereblock_time >= timestamp '2026-02-09' and"from" = 0x851fC799C9F1443A2c1e6B966605A80f8A1b1BF2 -- wasabi protocol propamm pool factory),swap_event as (select'swap' as operation,contract_address as project_contract_address,tx_hashfrom base.logswhereblock_date >= timestamp '2026-02-09' and-- block_time >= current_timestamp - interval '24' hour andcontract_address in (select * from pool) andtopic0 in (0x24043855bfbfea0ccea141e5a73d7116bf0bfe083ea900a791f4b407ff03e525)), swap as (select'wasabi' as protocol,tt.block_month,tt.block_date,tt.block_time,se.project_contract_address,se.operation,tt.tx_hash,tt.tx_to,tt.symbol,tt.contract_address as token_address,tt.amount as amount_native,tt.amount_usdfrom tokens.transfers ttjoin swap_event se on tt.tx_hash = se.tx_hashwhereblockchain = 'base' andblock_time >= timestamp '2026-02-09' and-- block_time >= current_timestamp - interval '24' hour and("from" in (select * from pool) or "to" in (select * from pool)))select * from swap-- select * from swap where tx_hash = 0xea8277cde11bc6b109d9e2a62638583312303bb3e06ee153078e54b66fd66087-- with swap as (-- select-- 'swap in' as type,-- contract_address,-- call_tx_hash,-- call_tx_from,-- call_tx_to,-- call_block_time,-- call_block_date,