PEACE to BNB

Returns one DEX trade on Ethereum and BNB Chain, where base currency is 0x2b79…c29d 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 and quote price.

By BobM · saved 27 May 2021 · Bitquery API v1

What it returns

Filters

The query

query {
  ethereum(network: bsc){
    dexTrades(
        baseCurrency: {is: "0x2b79fd0d79393d88d447b4f7a5891ab08a8cc29d"}
        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
    }
  }
}

Similar queries