Pump.fun PnL · flow per hour

Query by @astrolabe-pumpfun, updated 2026-11-05. #pumpfun #pnl #traders #wallets

Example query

SQL (ClickHouse)

SELECT
  toStartOfHour(block_time) AS hour,
  round(sumIf(quote_coin_amount, direction = 'buy') / 1e9) AS bought_sol,
  round(sumIf(quote_coin_amount, direction = 'sell') / 1e9) AS sold_sol,
  round((sumIf(quote_coin_amount, direction = 'buy') - sumIf(quote_coin_amount, direction = 'sell')) / 1e9) AS net_inflow_sol,
  uniq(signing_wallet) AS wallets,
  count() AS trades
FROM pumpfun_v2_swaps
WHERE failed = 0 AND block_date_utc >= toDate((SELECT max(block_time) FROM solana_blocks) - INTERVAL {{hours}} HOUR) AND block_time > (SELECT max(block_time) FROM solana_blocks) - INTERVAL {{hours}} HOUR AND block_time <= (SELECT max(block_time) FROM solana_blocks)
GROUP BY hour
ORDER BY hour

Charts: SOL into and out of the bonding curves, per hour, Net inflow, SOL (buys minus sells), Active wallets per hour.

Result

hourbought_solsold_solnet_inflow_solwalletstrades
2026-11-04 00:00:001780568.01688795.091773.016685183175
2026-11-04 01:00:001078689.01141203.0-62515.014540173643
2026-11-04 02:00:001206358.01111698.094660.014000202207
2026-11-04 03:00:00782928.0647456.0135472.012715179132
2026-11-04 04:00:00506823.0495309.011514.011123153988
2026-11-04 05:00:00929727.0948142.0-18416.09829120278
2026-11-04 06:00:00349203.0390978.0-41775.010961146252
2026-11-04 07:00:00696103.0644623.051479.010259141602
2026-11-04 08:00:00516470.0437974.078495.010842137347
2026-11-04 09:00:00542463.0529647.012816.010978124922
2026-11-04 10:00:00215602.0237179.0-21577.011563141105
2026-11-04 11:00:00549641.0424522.0125119.012314152637
2026-11-04 12:00:00250676.0283579.0-32903.014540162738
2026-11-04 13:00:003153256.0374509.02778747.018539181068
2026-11-04 14:00:002265177.01704632.0560545.017965187425
2026-11-04 15:00:003108254.03076587.031667.019773222788
2026-11-04 16:00:00910892.0620867.0290025.020609220898
2026-11-04 17:00:00884593.0578050.0306544.022801235656
2026-11-04 18:00:001386582.01140098.0246483.024111257438
2026-11-04 19:00:001675006.01435122.0239884.021685265034
2026-11-04 20:00:003014665.02423978.0590688.023804254264
2026-11-04 21:00:003407309.03348548.058761.024917226477
2026-11-04 22:00:006003520.05937927.065593.017885201440
2026-11-04 23:00:004254371.04274267.0-19896.016869200962

24 rows. Computed 2026-11-05T13:17:18Z.