Query editor
-- ============================================================================-- PART B: 🕸️ Funding Clusters-- ============================================================================with token_first_buys as (selecttx_from as wallet, token_bought_address as token_address, min(block_time) as first_buy_timefrom dex.tradeswhere blockchain = 'robinhood'and amount_usd > 0and token_bought_amount > 0-- performance bound. Robinhood chain launched late May 2026, so-- this is effectively "since genesis" -- no token-launch-timing-- risk on this chain, safe as a scan-narrowing filter.and block_time >= cast('2026-05-22' as timestamp)group by 1, 2), token_launch as (selecttoken_address, min(first_buy_time) as launch_timefrom token_first_buysgroup by 1), early_buys as (-- "early" here = bought within the token's first 24h (simpler than the-- percentile approach in Query #6 — good enough for cluster detection)selectb.wallet, b.token_address, b.first_buy_timefrom token_first_buys as binner join token_launch as lon b.token_address = l.token_addresswhere b.first_buy_time < l.launch_time + interval '24' hour), wallet_funding as (-- each early buyer's first-ever inbound native transfer and who sent-- it. `success = true` excludes reverted transfers that delivered no-- funds but would otherwise be picked up as the "first" funding event-- if they're chronologically earliest. Pre-filtered to wallets that-- actually appear in early_buys before aggregating -- robinhood.-- transactions is a full-chain table, and grouping by every address-- that ever received value on the chain before narrowing down is a-- much larger scan than needed.selectevt_tx_to as wallet, min(evt_block_time) as first_funded_time, min_by(evt_tx_from, evt_block_time) as funder_addressfrom erc20_robinhood.evt_Transferwhere value > uint256 '0'and evt_tx_to in (select distinct wallet from early_buys)and evt_block_time >= cast('2026-05-22' as timestamp) -- robinhood chain genesis (~late May 2026); tighter scan bound than an arbitrary dategroup by 1)