check_

Returns DEX trades on Ethereum and Polygon, where base currency is 0x2791…4174 and time since 2024-06-09, sorted by trade amount, highest first: base amount, base currency address, base currency symbol, quote amount, quote currency address, quote currency symbol, expression and trade amount.

By Omkar_BQ · saved 10 June 2024 · run 7 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: matic) {
    dexTrades(
      options: {desc: "tradeAmount", limitBy: {each: "quoteCurrency.address", limit: 1}}
      baseCurrency: {in: ["0x2791bca1f2de4661ed88a30c99a7a9449aa84174"]}
      time: {since: "2024-06-09"}
    ) {
      baseAmount(calculate: anyLast)
      baseCurrency {
        address
        symbol
      }
      quoteAmountUSD: quoteAmount(in: USD, calculate: anyLast)
      quoteCurrency {
        address
        symbol
      }
      price: expression(get: "quoteAmountUSD / baseAmount")
      tradeAmount(in: USD)
    }
  }
}

Similar queries