How to include Transaction Hash and User address with trades count

Ph-hitachi
Mon, 29 Nov 2021 12:53:28 +0000
GraphQL API

Hi, im having problem when i will include the transaction hash on my query…

here’s my query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {asc: "timeInterval.minute"}
      date: {since: "2021-06-20T07:23:21.000Z", till: "2021-06-23T15:23:21.000Z"}
      exchangeAddress: {is: "0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73"}
      baseCurrency: {is: "0x2170ed0880ac9a755fd29b2688956bd959f933f8"}
      quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
      tradeAmountUsd: {gt: 10}
    ) {
      timeInterval {
        minute(count: 15, format: "%Y-%m-%dT%H:%M:%SZ")
      }
      volume: quoteAmount(in: USD)
      high: quotePrice(calculate: maximum)
      low: quotePrice(calculate: minimum)
      open: minimum(of: block, get: quote_price)
      close: maximum(of: block, get: quote_price)
      baseAmount(in: USD)
      baseCurrency {
        address
        name
        symbol
      }
      quoteCurrency {
        address
        symbol
      }
      transaction {
        hash
        txFrom {
          address
        }
      }
    }
  }
}

it’s looks normal but when i add

transaction {
        hash
        txFrom {
              address
        }
}

The OHCL will showing not correct data, its shows same value

4 posts - 3 participants