Query editor
-- Pilot cohort: first observed native-USDC bridge receipt on Base.-- Dynamic window: six completed calendar months, plus a 60-day lookback.-- DuneSQL / Trino syntax.WITHparams AS (SELECTdate_trunc('month', current_date) - interval '6' month AS cohort_start,date_trunc('month', current_date) AS cohort_end,100.0 AS min_entry_usd),bridge_candidates AS (SELECTf.recipient AS address,f.withdrawal_block_time AS entry_time,f.withdrawal_tx_hash AS entry_tx_hash,f.deposit_chain AS source_chain,f.bridge_name,coalesce(f.amount_usd, f.withdrawal_amount) AS entry_usd,row_number() OVER (PARTITION BY f.recipientORDER BY f.withdrawal_block_time, f.withdrawal_tx_hash) AS observed_entry_rankFROM bridges_evms.flows AS fCROSS JOIN params AS pWHERE f.withdrawal_chain = 'base'AND f.deposit_chain <> f.withdrawal_chainAND f.withdrawal_token_address = 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913-- duplicate_index is 1-based when populated; NULL denotes an unduplicated row.AND coalesce(f.duplicate_index, 1) = 1AND f.withdrawal_block_time >= p.cohort_start - interval '60' dayAND f.withdrawal_block_time < p.cohort_endAND coalesce(f.amount_usd, f.withdrawal_amount) >= p.min_entry_usd),cohort AS (SELECTb.address,b.entry_time,date_trunc('month', b.entry_time) AS cohort_month,b.entry_tx_hash,b.source_chain,b.bridge_name,b.entry_usd,CASEWHEN b.entry_usd < 1000 THEN '$100–1k'WHEN b.entry_usd < 10000 THEN '$1k–10k'WHEN b.entry_usd < 100000 THEN '$10k–100k'ELSE '$100k+'END AS entry_size_bucketFROM bridge_candidates AS bCROSS JOIN params AS pWHERE b.observed_entry_rank = 1AND b.entry_time >= p.cohort_start)SELECTaddress,entry_time,cohort_month,entry_tx_hash,source_chain,