Coin base query try-1

Returns 3 DEX trades on Ethereum and BNB Chain, where base currency is 0x9628…0fef, quote currency is 0x55d3…7955 and exchange name is Coinone, sorted by time interval minute, highest first: minute, transaction hash, trade index, date date, block height, buy amount, buy currency symbol and 4 more fields.

By Aman · saved 12 October 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 3, desc: "timeInterval.minute"}
      time: {before: "2021-10-11T07:39:34"}
      exchangeName: {is: "Coinone"}
      priceAsymmetry: {lteq: 1}
      baseCurrency: {is: "0x9628735017f1a985ebaac0b203efb9e8d3ed0fef"}
      quoteCurrency: {is: "0x55d398326f99059ff775485246999027b3197955"}
    ) {
      timeInterval {
        minute(count: 1)
      }
      transaction {
        hash
      }
      tradeIndex
      date {
        date
          }
      block {
        height
      }
      buyAmount
      buyAmountInUsd: buyAmount(in: USD)
      buyCurrency {
        symbol
        address
      }
      sellAmount
      sellAmountInUsd: sellAmount(in: USD)
      sellCurrency {
        symbol
        address
      }
    
    }
  }
}

Similar queries