Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- ethereum(network: bsc) {
- site1_ohlc: dexTrades(
- options: {asc: "timeInterval.minute", limit: 1}
- baseCurrency: {is: "0x832e655651b0c84c48b63a0ad74cb0cad8bf87bc"}
- quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
- time: {since: "2021-12-11T03:03:00Z"}
- ) {
- timeInterval {
- minute(count: 1, format: "%Y-%m-%dT%H:%M:%SZ")
- }
- baseAmount
- quotePrice
- volume: quoteAmount
- volumeUSD: 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)
- count
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment