penny

Returns DEX trades on Ethereum, where base currency is 0x2f0d…585c, date since 2023-04-27 and date till 2023-05-04, sorted by amount, highest first: full name, count, base amount and base currency symbol.

By DP · saved 4 May 2023 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $token: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(
      options: {desc: "amount"}
      date: {since: $from, till: $till}
      baseCurrency: {is: $token}
    ) {
      exchange {
        fullName
      }
      trades: count
      takers: count(uniq: takers)
      makers: count(uniq: makers)
      amount: baseAmount
      baseCurrency {
        symbol
      }
      amount_usd: baseAmount(in: USD)
      currency: baseCurrency {
        symbol
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "token": "0x2f0d245bd45c25e218705c4acbdac55606b6585c",
  "from": "2023-04-27",
  "till": "2023-05-04T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries