Guest User

Untitled

a guest
Dec 11th, 2021
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. {
  2. ethereum(network: bsc) {
  3. site1_ohlc: dexTrades(
  4. options: {asc: "timeInterval.minute", limit: 1}
  5. baseCurrency: {is: "0x832e655651b0c84c48b63a0ad74cb0cad8bf87bc"}
  6. quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
  7. time: {since: "2021-12-11T03:03:00Z"}
  8. ) {
  9. timeInterval {
  10. minute(count: 1, format: "%Y-%m-%dT%H:%M:%SZ")
  11. }
  12. baseAmount
  13. quotePrice
  14. volume: quoteAmount
  15. volumeUSD: quoteAmount(in: USD)
  16. high: quotePrice(calculate: maximum)
  17. low: quotePrice(calculate: minimum)
  18. open: minimum(of: block, get: quote_price)
  19. close: maximum(of: block, get: quote_price)
  20. count
  21. }
  22. }
  23. }
  24.  
Advertisement
Add Comment
Please, Sign In to add comment