Incorrect query aggregation on price

Returns 100 DEX trades by token on Solana, where currency mint address is 7mnTV8…sjoo and side currency mint address is 3NZ9JM…qmJh, So1111…1112 or 4 more: price in USD, side type, side currency symbol and side currency mint address.

By Aleksey · saved 15 August 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query {
  Solana(aggregates: no) {
    DEXTradeByTokens(
      where: {
        Trade: {
          
          Currency: {
            MintAddress: {
              is: "7mnTV8BTKJnJvHmAcaM7u23v3Mai2yuvohYCJPXNsjoo"
            }
          }
          Side: {
            Currency: {
              MintAddress: {
                in: [
                  "3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh",
                  "",
                  "So11111111111111111111111111111111111111112",
                  "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                  "7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs",
                  "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
                  "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"
                ]
              }
            }
          }
        }
        Transaction: {Result: {Success: true}}}
    limit: {count: 100}) {
      Trade {
        PriceInUSD
        Side {
          Type
Currency {
  Symbol
  MintAddress
}}
      }
    }
    
  }
}

Similar queries