pairs for specific token

Returns 10 DEX trades on Ethereum, where buy currency is 0x2260…c599, date since 2023-06-08 and date till 2023-06-15, sorted by count, highest first: buy currency symbol, buy currency address, sell currency symbol, sell currency address, address address and count.

By gaurav · saved 15 June 2023 · run 5 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(
      options: {desc: "count", limit: $limit, offset: $offset, limitBy: {each: "smartContract.address.address", limit: 1}}
      buyCurrency: {is: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"}
      date: {since: $from, till: $till}
    ) {
      buyCurrency {
        symbol
        address
      }
      sellCurrency {
        symbol
        address
      }
      smartContract {
        address {
          address
        }
      }
      count
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "from": "2023-06-08",
  "till": "2023-06-15T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries