top buyers of a token

Returns 10 DEX trades by token on Solana, where currency mint address is AuFy4U…pump, sorted by buy, highest first: account address, token owner, currency symbol, currency name, currency mint address and sum of trade side amount in USD.

By Aleksei · saved 24 February 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: archive) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "buy"}
      where: {Trade: {Currency: {MintAddress: {is: "AuFy4UNdargMkNDmZyrQseU5gg75hinSDdPKmb3wpump"}}}, Transaction: {Result: {Success: true}}}
      limit: {count: 10}
    ) {
      Trade {
        Account{
          Address
          Token{
            Owner
          }
        }
        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