DEX Token Polygon with the most Trading Volume

Returns the latest 200 DEX trades on Ethereum and BNB Chain, where date since 2022-04-13: sell currency symbol, sell currency address, sell amount, buy currency symbol, buy currency address, buy amount, count and 6 more fields.

By Sayon Sai Dutta · saved 20 April 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {desc: ["block.height"], limit: 200}
      date: {since: "2022-04-13"}
    ) {
      sellCurrency {
        symbol
        address
      }
      sellAmount
      buyCurrency {
        symbol
        address
      }
      buyAmount
      count
      tradeAmount(in: USD)
      median_price: price(calculate: median)
      last_price: maximum(of: block, get: price)
      # dates: count(uniq: dates)
      # started: minimum(of: date)
      block{
        height
        hash
        timestamp{
          iso8601
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "matic",
  "from": "2022-04-13",
  "till": "2022-04-20T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries