AggregatesNoTest

`aggregates: no` on DEXTradeByTokens with archive — does it unlock individual rows?

By Robert · saved 12 March 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query AggregatesNoTest($token: String!) {
  Solana(dataset: combined, aggregates: no) {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 50}
      where: {
        Trade: {
          Currency: {MintAddress: {is: $token}}
          Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}
          Price: {gt: 0}
        }
        Transaction: {Result: {Success: true}}
        Block: {Time: {since: "2026-03-09T23:00:00Z", till: "2026-03-09T23:59:59Z"}}
      }
    ) {
      Block { allTime: Time }
      Transaction { Signature }
      Trade {
        Account { Owner }
        Price
        PriceInUSD
        Amount
        AmountInUSD
        Side {
          Type
          Currency { Symbol MintAddress }
          AmountInUSD
        }
        Dex { ProgramAddress ProtocolFamily ProtocolName }
      }
    }
  }
}

Variables

{ "token": "27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4" }

Similar queries