DEX TradingVol (Combine same Symbol

Returns DEX trades on Ethereum and BNB Chain, where exchange name is Pancake, base currency is USDT or BUSD and date is 2021-01-01, sorted by USD, highest first: date date, exchange name, address address, buy currency address, buy currency symbol, sell currency address, sell currency symbol and 2 more fields.

By howard.pen9 · saved 5 March 2021 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query (
  $symbol1: [String!]
) {
  ethereum(network: bsc) {
    dexTrades(
      options: {desc: "USD"}
      date: {in: "2021-01-01"}
      exchangeName: {is: "Pancake"}
      baseCurrency: {in: $symbol1}
    ) {
      date {
        date
      }
      exchange {
        name
        address {
          address
        }
      }
      buyCurrency{
        address
        symbol
      }
      sellCurrency{
        address
        symbol
      }
      USD: tradeAmount(in: USD)
      BTC: tradeAmount(in: BTC)
      ETH: tradeAmount(in: ETH)
      USDT: tradeAmount(in: USDT)
      count
    }
  }
}

Variables

{
  "symbol1": [
    "USDT", 
    "BUSD"
  ]
}

Similar queries