Trades in USD

Returns the latest 10 DEX trades on Ethereum, where date after 2023-04-26: buy amount, buy currency name, date date, price, quote amount, sell amount, quote currency name and 2 more fields.

By Divyasshree N · saved 28 April 2023 · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: ethereum) {
    dexTrades(
      date: {after: "2023-04-26"}
      options: {limit: 10, desc: "block.height"}
    ) {
      buyAmount(in: USD)
      buyCurrency {
        name
      }
      date {
        date
      }
      price
      quoteAmount
      sellAmount(in: USD)
      quoteCurrency {
        name
      }
      block {
        height
      }
      sellCurrency {
        name
      }
    }
  }
}

Similar queries