Price Change in 5 minute, 1 hour, 6 hour,11 hour

Returns DEX trades by token on Solana, where currency mint address is 6D7NaB…i5Ui, side currency mint address is So1111…1112 and block time since 2024-07-21: trade price.

By George · saved 22 July 2024 · run 21 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: realtime, network: solana) {
    DEXTradeByTokens(
      where: {Block: {Time: {since: "2024-07-21T22:18:00Z", till: "2024-07-22T07:18:00Z"}}, Trade: {Currency: {MintAddress: {is: "6D7NaB2xsLd7cauWu1wKk6KBsJohJmP2qZH9GEfVi5Ui"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}}
    ) {
      Trade {
        start: Price(minimum: Block_Time)
        min5: Price(
          minimum: Block_Time
          if: {Block: {Time: {after: "2024-07-22T07:13:00Z"}}}
        )
        hour1: Price(
          minimum: Block_Time
          if: {Block: {Time: {after: "2024-07-22T06:18:00Z"}}}
        )
        hour6: Price(
          minimum: Block_Time
          if: {Block: {Time: {after: "2024-07-22T01:18:00Z"}}}
        )
        end: Price(maximum: Block_Time)
      }
    }
  }
}

Similar queries