Chart Moonbeam | Tradingview

trading view chart

Returns DEX trades on Ethereum and moonbeam, where base currency is 0x0e35…88d2 and quote currency is 0xacc1…077f: minute, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 4 more fields.

By lukas · saved 30 August 2022 · run 20 times · Bitquery API v1

What it returns

Filters

The query


  query {
    ethereum(network: moonbeam) {
      dexTrades(
        baseCurrency: { is: "0x0e358838ce72d5e61e0018a2ffac4bec5f4c88d2" }
        quoteCurrency: { is: "0xacc15dc74880c9944775448304b263d191c6077f" }
        date: { between: ["2022-08-25", "2022-08-26"] }
        priceAsymmetry: {lteq: 10},
      	tradeAmountUsd: {gteq: 1}
      ) {
        timeInterval {
          minute(format:"%FT%TZ", count: 30)
        }
        buyCurrency: baseCurrency {
          symbol
          address
        }
        buyAmount: baseAmount
        sellCurrency: quoteCurrency {
          symbol
          address
        }
        volume: quoteAmount
        trades: count
        high: quotePrice(calculate: maximum)
        low: quotePrice(calculate: minimum)
        open: minimum(of: block, get: quote_price)
        close: maximum(of: block, get: quote_price)
      }
    }
  }

Similar queries