Wallet token trade pairs

Returns 10 DEX trades on Ethereum, where maker or taker is 0x43cf…3ee2, date since 2022-04-28 and date till 2022-05-05, sorted by count, highest first: sell currency symbol, sell currency address, sell amount, buy currency symbol, buy currency address, buy amount, count and 3 more fields.

By Mann · saved 5 May 2022 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {desc: "count", limit: 10, offset: 0}
      date: {since: "2022-04-28", till: "2022-05-05T23:59:59"}
      makerOrTaker: {is: "0x43cf525d63987d17052d9891587bcfb9592c3ee2"}
    ) {
      sellCurrency {
        symbol
        address
      }
      sellAmount
      buyCurrency {
        symbol
        address
      }
      buyAmount
      count
      median_price: price(calculate: median)
      last_price: maximum(of: block, get: price)
      dates: count(uniq: dates)
      started: minimum(of: date)
    }
  }
}

Variables

{
  "dateFormat": "%Y-%m-%d"
}

Similar queries