3635_CQ_Order

Returns one DEX trade on Ethereum, where quote currency is 0xbC55…5F7A and base currency is 0xC02a…6Cc2, sorted by block height transaction index: quote price, block height, timestamp time, transaction index and transaction hash.

By Omkar_BQ · saved 28 November 2023 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      quoteCurrency: {is: "0xbC55cB1217B214E8bFD17449Ba371cd1fDdF5F7A"}
      baseCurrency: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}
      options: {asc: ["block.height", "transaction.index"], limit: 1}
    ) {
      quotePrice
      block {
        height
        timestamp {
          time
        }
      }
      transaction {
        index
        hash
      }
    }
  }
}

Similar queries