tradeAmount bug p1

Returns DEX trades on Ethereum, where base currency is 0x2500…a9e4, 0xe41d…f498 or 1 more and quote currency is 0xc02a…6cc2: base currency address, base currency name, base currency symbol, trade amount, buy amount, sell amount and count.

By lukas · saved 13 September 2022 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      baseCurrency: {in: ["0x250050acd30e382a39b00f2d172058160050a9e4", "0xe41d2489571d322189246dafa5ebde1f4699f498", "0xa3ec7df93090f4de46faea09f73cc40ebe7dd714"]}
      quoteCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
    ) {
      baseCurrency {
        address
        name
        symbol
      }
      tradeAmount(in: USD)
      buyAmount(in: USD)
      sellAmount(in: USD)
      count
    }
  }
}

Similar queries