tX

Returns the latest 50 DEX trades on Ethereum and BNB Chain, where base currency is 0x3eC8…DF56: block height, unixtime, transaction hash, sell currency symbol, buy currency symbol, buy amount, sell amount and 2 more fields.

By Jon · saved 26 July 2022 · run 170 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      baseCurrency: {is: "0x3eC8e004E9F71157b7ac7cCbED133939694EDF56"}
      options: {desc: "block.height", limit: 50}
    ) {
      block {
        height
        timestamp {
          unixtime
        }
      }
      transaction {
        hash
      }
      sellCurrency {
        symbol
      }
      buyCurrency {
        symbol
      }
      buyAmount
      sellAmount
      side
      tradeAmount(in: USD)
    }
  }
}

Similar queries