Top Buyers on pumpfun

Returns 100 DEX trades by token on Solana, where currency mint address is not So1111…1112 or EPjFWd…Dt1v and DEX protocol family is Pumpfun, sorted by buy, highest first: currency symbol, currency name, currency mint address and sum of trade side amount in USD.

By Aleksey · saved 23 August 2024 · Bitquery API v2

What it returns

Filters

The query

{
  Solana(aggregates: only) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "buy"}
      where: {Trade: {
        Currency: {
          MintAddress: {
            notIn: [
              "So11111111111111111111111111111111111111112",
              "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
              
            ]
          }
        }
        Dex: {ProtocolFamily: {is: "Pumpfun"}}}, Transaction: {Result: {Success: true}}}
      limit: {count: 100}
    ) {
      Trade {
        Currency {
          Symbol
          Name
          MintAddress
        }
      }
      buy: sum(of: Trade_Side_AmountInUSD, if: {Trade: {Side: {Type: {is: buy}}}})
      sell: sum(of: Trade_Side_AmountInUSD, if: {Trade: {Side: {Type: {is: sell}}}})
    }
  }
}

Similar queries