ASSG/WBNB v2

Returns one DEX trade on Ethereum and BNB Chain, where base currency is 0x9B24…61f7 and quote currency is 0xbb4C…095c, sorted by block height transaction index, highest first: block height, timestamp time, transaction index, base currency symbol, quote currency symbol, quote price and exchange name.

By asd · saved 24 May 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      baseCurrency: {is: "0x9B2411dD7002aef8e27C436EA0f0A75C640361f7"}
      quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
      options: {desc: ["block.height", "transaction.index"], limit: 1}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      transaction {
        index
      }
      baseCurrency {
        symbol
      }
      quoteCurrency {
        symbol
      }
      quotePrice
      exchange {
        name
      }
    }
  }
}

Similar queries