Latest Trade and Price w Wallet | 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, quote price and 2 more fields.

By lukas · saved 28 October 2022 · run 3 times · Bitquery API v1

What it returns

Filters

The 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
      maker {
        address
      }
      taker {
        address
      }
    }
  }
}

Similar queries