Solana - First buyers of a Pump.fun token (sniper detection)
The earliest buyers of a token, in time order - snipers are the first rows, buying within seconds of launch at the lowest price. Replace `token` in the Variables pane.
What it returns
- block time
- transaction signature
- account owner
- trade amount
- amount in USD
- price in USD
- protocol name
Filters
- currency mint address is EJkY6b…pump
- side type is buy
The query
# Solana - Pump.fun - First buyers of a token (sniper detection)
#
# Returns the earliest buys of one token in time order. Snipers show up as the
# first few rows: wallets that bought within seconds of the token appearing,
# usually for a large share of supply and at the lowest price on the chart.
#
# Compare Block.Time across the first rows to see how tightly they cluster,
# and Trade.Amount to see how much of the supply they took.
#
# Change `token` in the Variables pane. Raise the limit to widen the window.
#
# Bitquery V2 query - send it to https://streaming.bitquery.io/graphql
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
query ($token: String!) {
Solana {
DEXTradeByTokens(
limit: {count: 25}
orderBy: {ascending: Block_Time}
where: {Trade: {Currency: {MintAddress: {is: $token}}, Side: {Type: {is: buy}}}}
) {
Block { Time }
Transaction { Signature }
Trade {
Account { Owner }
Amount
AmountInUSD
PriceInUSD
Dex { ProtocolName }
}
}
}
}
Variables
{"token": "EJkY6bLFhFRdUqN4AVtJFp97jmmwriqMszyaucvppump"}
Similar queries
- ANSEM daily traders, June 16 to 26, 2026 · Solana · DEXTradeByTokens
- ANSEM swaps per hour, June 27, 2026 · Solana · DEXTradeByTokens
- FOMO App: Top Tokens Bought, Last Hour (Solana) · Solana · DEXTradeByTokens
- FOMO App: Most Active Wallets, Last Hour (Solana) · Solana · DEXTradeByTokens
- Buys, Sells, BuyVolume, SellVolume, Makers, TotalTradedVolume, PriceinUSD for solana token pair · Solana · DEXTradeByTokens