Coinpaprika - Get all pairs

Returns DEX trades on Ethereum, where buy currency is 0xc02a…6cc2, exchange address is 0x1f98…f984 and time since 2023-05-22, 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 4 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"}
      exchangeAddress: {is: "0x1f98431c8ad98523631ae4a59f267346ea31f984"}
    ) {
      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