Latest Trades on QuickSwap

Returns the latest DEX trade on Ethereum and Polygon, where exchange name is QuickSwap and date since 2021-10-21: transaction hash, address address, contract type, currency name, trade index, date date, block height and 10 more fields.

By Sonakshi · saved 31 October 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: matic) {
    dexTrades(
      options: {limit: 1, desc: "block.height"}
      exchangeName: {is: "QuickSwap"}
      date: {since: "2021-10-21", till: null}
    ) {
      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