trade volume

Returns the latest 10 DEX trades on Ethereum, where base currency is 0xa0b8…eb48, quote currency is 0xc02a…6cc2 and exchange name is Uniswap: base currency symbol, base currency address, quote currency symbol, quote currency address, count, trade amount and date date.

By gaurav · saved 11 March 2022 · run 3 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {limit: 10 desc: "date.date"}
      exchangeName: {is: "Uniswap"}
      baseCurrency: {is: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}
      quoteCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
    ) {
      baseCurrency {
        symbol
        address
      }
      quoteCurrency {
        symbol
        address
      }
      trades: count
      tradeAmount(in: USD)
      date{
        date(format: "%Y-%m-%d")
      }
    }
  }
}

Similar queries