Maker or Taker bug

Returns the latest 10 DEX trades on Ethereum and BNB Chain, where tx hash is 0x4d35…6599: timestamp time, block height, trade index, protocol, full name, address address, annotation and 8 more fields.

By gaurav · saved 19 August 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(options: {desc: ["block.height", "tradeIndex"], limit: 10, offset: 0}, date: {since: null, till: null}, txHash: {is: "0x4d35cffd82071cbf2cb984e7cdbfc7e158874c6294cc4a579e2cd692863d6599"}) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      tradeIndex
      protocol
      exchange {
        fullName
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      maker {
        address
      }
      taker {
        address
      }
      buyAmount
      buyCurrency {
        address
        symbol
      }
      sellAmount
      sellCurrency {
        address
        symbol
      }
    }
  }
}

Similar queries