Faulty results

Returns 10 DEX trades by token on Solana, where currency mint address is 6hYZ7o…XqGB, side currency mint address is So1111…1112 and block time after 2024-07-09, sorted by block timefield: block time and trade price.

By Tugay · saved 10 July 2024 · run 7 times · Bitquery API v2

What it returns

Filters

The query

query ($mint: String!, $after: DateTime!) {
  Solana {
    DEXTradeByTokens(
      orderBy: {ascendingByField: "Block_Timefield"}
      where: {Trade: {Currency: {MintAddress: {is: $mint}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Block: {Time: {after: $after}}}
      limit: {count: 10}
    ) {
      Block {
        Timefield: Time(interval: {in: minutes, count: 1})
      }
      Trade {
        high: Price(maximum: Trade_Price)
        low: Price(minimum: Trade_Price)
        open: Price(minimum: Block_Slot)
        close: Price(maximum: Block_Slot)
      }
    }
  }
}

Variables

{
  "mint": "6hYZ7oaW6dLsSwP9nALwvgCkZUhxNEdYWd238CDEXqGB",
  "after": "2024-07-09T04:32:32Z"
}

Similar queries