FEGex-Pairs - BSC

Returns 10 DEX trades on Ethereum and BNB Chain, where exchange name is FEGex, date since 2021-11-02 and date till 2021-12-01, sorted by count, highest first: sell currency symbol, sell currency address, sell amount, buy currency symbol, buy currency address, buy amount, count and 3 more fields.

By FEGToken · saved 1 December 2021 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $exchange: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(
      options: {desc: "count", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      exchangeName: {is: $exchange}
    ) {
      sellCurrency {
        symbol
        address
      }
      sellAmount
      buyCurrency {
        symbol
        address
      }
      buyAmount
      count
      median_price: price(calculate: median)
      last_price: maximum(of: block, get: price)
      dates: count(uniq: dates)
      started: minimum(of: date)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "exchange": "FEGex",
  "from": "2021-11-02",
  "till": "2021-12-01T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries