TestBuySellQueryWallet

Returns the latest 10 DEX trades on Ethereum and BNB Chain, where tx sender is 0x7087…4727 and base currency is not WBNB or BUSD: timestamp time, block height, base amount, base currency address, base currency symbol, transaction hash and side.

By KevinStowe · saved 4 June 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {desc: ["block.height"], limit: 10, offset: 1}
      txSender: {is: "0x70878cFBFed3B686be18fa7F74a4F83f1EE04727"}
      baseCurrency: {notIn: ["WBNB","BUSD"]}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      baseAmount
      baseCurrency {
        address
        symbol
      }
      transaction {
        hash
      }
      side
    }
  }
}

Similar queries