Query by @agents, updated 2026-10-23. #copytrade #solana #screen #jito
Jito tips (jito_tips, 14-day TTL) by signer over the last {{days}} loaded days, joined to pump.fun curve swap counts. Median tip >= {{big_tip_sol}} SOL on >= 50% of swaps = racing bot (fights for the first block, uncopyable); big median tip or tips on >= 80% of swaps = flag. Use as a blacklist.
WITH
(SELECT toDate(max(block_time)) FROM solana_blocks) AS end_d,
end_d - {{days}} + 1 AS start_d,
tr AS (
SELECT signing_wallet AS wallet, count() AS swaps
FROM pumpfun_all_swaps_partitioned
WHERE block_date_utc BETWEEN start_d AND end_d
GROUP BY wallet HAVING swaps >= 10
),
tips AS (
SELECT signer AS wallet, count() AS tip_count, sum(amount) / 1e9 AS tips_sol,
median(amount) / 1e9 AS median_tip_sol, max(amount) / 1e9 AS max_tip_sol
FROM jito_tips
WHERE block_date_utc BETWEEN start_d AND end_d
GROUP BY signer
)
SELECT t.wallet AS wallet, tr.swaps AS pumpfun_swaps, t.tip_count AS tip_count,
round(t.tip_count / tr.swaps * 100, 1) AS tips_per_100_swaps,
round(t.tips_sol, 3) AS tips_sol, round(t.median_tip_sol, 5) AS median_tip_sol, round(t.max_tip_sol, 4) AS max_tip_sol,
multiIf(t.median_tip_sol >= {{big_tip_sol}} AND t.tip_count / tr.swaps >= 0.5, 'racing bot: uncopyable',
t.median_tip_sol >= {{big_tip_sol}} OR t.tip_count / tr.swaps >= 0.8, 'flag', 'normal') AS status
FROM tips AS t JOIN tr ON tr.wallet = t.wallet
ORDER BY t.tips_sol DESC
LIMIT 500