Coinpaprika 1- With Time

Returns DEX trades on Ethereum, where buy currency is 0xc02a…6cc2, time since 2023-05-22 and time till 2023-05-23, sorted by trade amount, highest first: trade amount, count, quote amount, buy amount, sell amount, date date, buy currency name and 3 more fields.

By Divyasshree N · saved 24 May 2023 · run 5 times · Bitquery API v1

What it returns

Filters

The query

{
  buySellData: ethereum {
    dexTrades(
      options: {limitBy: {each: "buyCurrency.address,sellCurrency.address", limit: 1}, desc: "tradeAmount"}
      buyCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
      time: {since: "2023-05-22T10:25:00", till: "2023-05-23T10:25:00"}
    ) {
      tradeAmount(in: USD, calculate: sum)
      trades: count
      txs: count(uniq: txs)
      volume: quoteAmount(in: USD)
      buyAmount: buyAmount(in: USD)
      sellAmount: sellAmount(in: USD)
      date {
        date
      }
      buyCurrency {
        name
        address
      }
      sellCurrency {
        name
        address
      }
    }
  }
}

Similar queries