Query editor
with cand as (select tx_id, block_time, from_owner, to_owner,amount_display as qty, amount_usd as usdfrom tokens_solana.transferswhere block_date = date '2026-08-07'and block_time >= timestamp '2026-08-07 21:50'and block_time < timestamp '2026-08-07 22:40'and token_mint_address = 'So11111111111111111111111111111111111111111'and amount_display between 0.528 and 0.548),cohort as (select distinct wallet from dune.crypto_edgar.result_fomo_sol_net_2026_08)select c.block_time, c.tx_id, c.from_owner, c.to_owner, c.qty, c.usd,(co.wallet is not null) as recipient_is_fomo_walletfrom cand cleft join cohort co on co.wallet = c.to_ownerorder by recipient_is_fomo_wallet desc, c.block_time