dex sort by sell amount

Returns 10 DEX trades on Ethereum and BNB Chain, where date after 2021-11-09, sorted by sell amount, highest first: transaction hash, trade index, date date, buy amount, buy currency symbol, sell amount, sell currency symbol and gas value.

By Aman · saved 10 November 2021 · Bitquery API v1

What it returns

Filters

The query

{
   ethereum(network: bsc) {
    dexTrades(options: {limit: 10 desc: "sellAmount"}
    date: {after: "2021-11-09"}) {
      transaction {
        hash
      }
      tradeIndex
      date{date}
      
      buyAmount
      buyAmountInUsd:buyAmount(in: USD)
      buyCurrency{symbol}
      
      sellAmount
      sellCurrency{symbol}
      sellAmountInUsd:sellAmount(in: USD)
      
      gasValueUsd: gasValue(in: USD)
    }
  }
}

Similar queries