trade volume

dex pair trades

Returns the latest 100 DEX trades on Ethereum, where date since 2022-02-01 and date till 2022-03-11: base currency symbol, base currency address, quote currency symbol, quote currency address, count, trade amount, date date and 2 more fields.

By KingYo · saved 11 March 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {limit: 100, desc: "date.date"}
      date: {since: "2022-02-01", till: "2022-03-11"}
    ) {
      baseCurrency(baseCurrency: {}) {
        symbol
        address
      }
      quoteCurrency(quoteCurrency: {is: "0x111111111117dc0aa78b770fa6a738034120c302"}) {
        symbol
        address
      }
      trades: count
      tradeAmount(in: USD)
      date {
        date(format: "%Y-%m-%d")
      }
      exchange(exchangeAddress: {is: "0x1F98431c8aD98523631AE4a59f267346ea31F984"}) {
        fullName
        address {
          address
        }
      }
    }
  }
}

Variables

{
  "from": "2022-02-01",
  "till": "2022-03-11",
  "dateFormat": "%Y-%m-%d"
}

Similar queries