Copy of New Query

Returns DEX trades on Ethereum, where maker or taker is 0x9522…afe5, date since 2024-04-13 and date till 2024-04-20, sorted by date date: date date and count big int.

By rexdev · saved 20 April 2024 · Bitquery API v2

What it returns

Filters

The query

query ($network: EthereumNetwork!, $dateFormat: String!, $from: ISO8601DateTime, $till: ISO8601DateTime, $address: String!) {
  ethereum(network: $network) {
    dexTrades(
      options: {asc: "date.date"}
      date: {since: $from, till: $till}
      makerOrTaker: {is: $address}
    ) {
      date: date {
        date(format: $dateFormat)
      }
      trades: countBigInt
      traders: countBigInt(uniq: takers)
      contracts: countBigInt(uniq: smart_contracts)
      currencies: countBigInt(uniq: buy_currency)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5",
  "from": "2024-04-13",
  "till": "2024-04-20T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries