Trade on Coinone

Returns the latest 10 DEX trades on Ethereum and BNB Chain, where base currency is 0x9628…0fef, quote currency is 0x55d3…7955 and exchange name is Coinone: transaction hash, address address, contract type, currency name, trade index, date date, block height and 10 more fields.

By gaurav · saved 14 October 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(options: {limit: 10, desc: "block.height"},
      time: {since: "2021-10-10T15:05:00" before:"2021-10-10T15:09:00" }
      exchangeName: {is: "Coinone"}
      priceAsymmetry: {lteq: 5}
      baseCurrency: {is: "0x9628735017f1a985ebaac0b203efb9e8d3ed0fef"}
      quoteCurrency: {is: "0x55d398326f99059ff775485246999027b3197955"}
    ) {
      transaction {
        hash
      }
      smartContract{
        address{
          address
        }
        contractType
        currency{
          name
        }
      }
      tradeIndex
      date {
        date
      }
      block {
        height
      }
      buyAmount
      buyAmountInUsd: buyAmount(in: USD)
      buyCurrency {
        symbol
        address
      }
      sellAmount
    	sellAmountInUsd: sellAmount(in: USD)
      sellCurrency {
        symbol
        address
      }
      sellAmountInUsd: sellAmount(in: USD)
      tradeAmount(in: USD)
      transaction{
        gasValue
        gasPrice
        gas
      }
    }
  }
}

Similar queries