timestamp which is giving 500 price - even though I have filtered out < 10$ trades

Returns the latest 10 DEX trades by token on Solana, where currency mint address is So1111…1112, side currency mint address is EPjFWd…Dt1v and block time till 2025-04-17: block time, sum of trade amount, trade price, side currency mint address and count.

By gaurav · saved 21 April 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana(dataset: archive) {
    DEXTradeByTokens(
      limit: {count: 10} 
      orderBy: {descendingByField: "Block_Timefield"}
      where: {Block: {Time: {till: "2025-04-17T19:22:00Z", since: "2025-04-17T19:21:30Z"}}, Trade: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Side: {Currency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}, AmountInUSD: {gt: "10"}}, PriceAsymmetry: {le: 0.1}, AmountInUSD: {gt: "10"}}}
    ) {
      Block {
        Timefield: Time(interval: {count: 1, in: minutes})
      }
      volume: sum(of: Trade_Amount)
      Trade {
        high: Price(maximum: Trade_Price)
        low: Price(minimum: Trade_Price)
        open: Price(minimum: Block_Slot)
        close: Price(maximum: Block_Slot)
        Side {
          Currency {
            MintAddress
          }
        }
      }
      count
    }
  }
}

Similar queries