Query editor
withpower_badgers AS (selectfidfromdune.neynar.dataset_farcaster_warpcast_power_users),latest_fnames AS (SELECTfid,fname,ROW_NUMBER() OVER (PARTITION BY fid ORDER BY updated_at DESC) as rnFROM dune.neynar.dataset_farcaster_fnames)selectcasts.hash as hash,fnames.fname,casts.fid,casts.text,get_href(concat('https://www.super.sc/c/', CAST(casts.hash as VARCHAR)), 'link') as link,casts.created_at-- hash,-- count(*)fromdune.neynar.dataset_farcaster_casts castsJOIN latest_fnames fnames ON fnames.fid = casts.fid AND fnames.rn = 1WHEREregexp_like(casts.text, '\b0x[a-f0-9]{40}\b')and not regexp_like(casts.text, '\bCA[:].*\b0x[a-f0-9]{40}\b')and not regexp_like(casts.text, '[zora|base][:].*0x[a-f0-9]{40}\b')and not regexp_like(casts.text, '\/|=0x[a-f0-9]{40}\b')and casts.created_at > DATE(CAST('2025-01-01 00:00' AS TIMESTAMP))and casts.fid in (select fid from power_badgers)and casts.fid not in (396644, -- hypersub440352, -- thegoldenbright875741, -- alfaca0 -- placeholder)order bycasts.created_at desclimit50;