Top-10 Token Trades based on Amount

Returns 10 DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4C…095c, quote currency is 0xe9e7…7d56 and date since 2021-07-28, sorted by sell amount buy amount, highest first: block height, timestamp time, trade index, protocol, buy amount, buy currency address, buy currency symbol and 4 more fields.

By Sayon · saved 29 July 2021 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 10, desc: ["sellAmount", "buyAmount"]}
      baseCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
      quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
      date: {since: "2021-07-28"}
    ) {
      block{
        height
        timestamp{
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      tradeIndex
      protocol
      buyAmount
      buyCurrency {
        address
        symbol
      }
      sellAmount
      sellCurrency {
        address
        symbol
      }
      transaction {
        hash
      }
    }
  }
}

Similar queries