pump fun token trades

Returns 10 DEX trades by token on Solana, where currency mint address is 5TUXCw…pump, sorted by volume, highest first: account address, protocol name, protocol family, program address, currency mint address, currency name, currency symbol and 2 more fields.

By gaurav · saved 8 July 2024 · run 35 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descendingByField: "volume"}
      where: {Trade: {Currency: {MintAddress: {is: "5TUXCw1ocBa3fEG7HZs8oheFsPDajjDyk7RsXiAHpump"}}}, Transaction: {Result: {Success: true}}}
    ) {
      Trade {
        Account {
          Address
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Currency {
          MintAddress
          Name
          Symbol
        }
      }
      volume: sum(of: Trade_Amount)
      volumeUsd: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Similar queries