getLastQuoteFromPair

Returns 120 DEX trades on Ethereum and BNB Chain, where smart contract address is 0x2485…8f9c and height is above 7891383, sorted by time interval minute, highest first: block height, base currency symbol, quote currency symbol, quote price and minute.

By Federico · saved 1 June 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {desc: "timeInterval.minute", limit: 120}
      smartContractAddress: {in: ["0x24858545de668d6b531110527226200b9c128f9c"]}
      height: {gt: 7891383}
    ) {
      block {
        height
      }
      baseCurrency {
        symbol
      }
      quoteCurrency {
        symbol
      }
      quotePrice
      timeInterval {
        minute(count: 1)
      }
    }
  }
}

Similar queries