Latest Trade and Price | Moonbeam

STELLA, WGLMR

Returns one DEX trade on Ethereum and moonbeam, where base currency is 0x0e35…88d2, quote currency is 0xacc1…077f and date is 2022-08-28, sorted by block height transaction index, highest first: block height, timestamp time, transaction hash, transaction index, base currency symbol, quote currency symbol and quote price.

By lukas · saved 28 August 2022 · run 35 times · Bitquery API v1

What it returns

Filters

The query

query {
  		ethereum(network: moonbeam){
  dexTrades(
      baseCurrency: {is: "0x0e358838ce72d5e61e0018a2ffac4bec5f4c88d2"}
      quoteCurrency: {is: "0xacc15dc74880c9944775448304b263d191c6077f"}
      options: {desc: ["block.height", "transaction.index"], limit: 1}
      date: {is: "2022-08-28"}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      transaction {
        hash
        index
      }
      baseCurrency {
        symbol
      }
      quoteCurrency {
        symbol
      }
      quotePrice
    }
	}
}

Similar queries