new buy/sell query

Returns the latest DEX trades on Ethereum and BNB Chain, where tx sender is 0x7087…4727, base currency is not WBNB, BUSD or 1 more and date after 2021-06-05: timestamp time, block height, base amount, base currency address, base currency symbol, base currency name, transaction hash and 2 more fields.

By KevinStowe · saved 6 June 2021 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {desc: ["block.height"]}
      date: {after: "2021-06-05"}
      txSender: {in: ["0x70878cFBFed3B686be18fa7F74a4F83f1EE04727"]}
      baseCurrency: {notIn: ["WBNB", "BUSD", "ETH"]}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      baseAmount
      baseCurrency {
        address
        symbol
        name
      }
      transaction {
        hash
        txFrom {
          address
        }
      }
      side
    }
  }
}

Similar queries