Query editor
-- copypump (https://www.copypumpfun.com) -- all-time totals, same footprint as the daily query:-- service fees = USDC into the treasury ; cost = SOL the fee payer lost (net of rent it gets back,-- top-ups co-signed by the treasury excluded, daily price) ; volume = one USD value per copied-- trade (largest hop) ; trades = transactions with a DEX swap.withfees as (select sum(amount_display) as fees_usdfrom tokens_solana.transferswhere to_owner = 'BjHYEPvpHj1CgmhsJKzmSCmDbtzoy2nYu7XTr5nLu1Ev'and token_mint_address = 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'and block_date >= date '2026-09-16'),ours as (select id, block_date, success,pre_balances[1] - post_balances[1] as lamports_outfrom solana.transactionswhere signer = 'DQg2Uxvbh4JJD6bFHPCsoLJ9SGgNv1qkvksHy8MVfV7D' and block_date >= date '2026-09-16'and not contains(signers, 'BjHYEPvpHj1CgmhsJKzmSCmDbtzoy2nYu7XTr5nLu1Ev')),sol_px as (select day, price from prices.usd_daily where blockchain = 'solana' and symbol = 'SOL' and day >= date '2026-09-16'),cost as (select sum(o.lamports_out / 1e9 * coalesce(p.price, (select price from sol_px order by day desc limit 1))) as cost_usdfrom ours o left join sol_px p on p.day = o.block_date),per_tx as (select t.tx_id, max(t.amount_usd) as usdfrom dex_solana.trades t join ours o on o.id = t.tx_id and o.block_date = t.block_date and o.successwhere t.block_date >= date '2026-09-16'group by 1),vol as (select sum(usd) as volume_usd, count(*) as trades from per_tx)selectround(fees.fees_usd, 2) as fees_usd,round(cost.cost_usd, 2) as cost_usd,round(fees.fees_usd - cost.cost_usd, 2) as revenue_usd,round(vol.volume_usd, 2) as volume_usd,vol.tradesfrom fees, cost, vol