dex trading vol by pairs

Returns 10 DEX trades on Ethereum, where date since 2022-12-28 and date till 2023-01-04, sorted by trade amount, highest first: buy currency symbol, buy currency address, sell currency symbol, sell currency address, count, trade amount and minimum of date.

By gaurav · saved 4 January 2023 · run 13 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: "tradeAmount", limit: $limit, offset: $offset},
                        date: {since: $from till: $till }

                        ) {

                            buyCurrency {
                              symbol
                              address
                            }

                            sellCurrency {
                              symbol
                              address
                            }

                            count
                            tradeAmount(in: USD)
                            dates: count(uniq: dates)
                            started: minimum(of: date)
                      }
                    }
                  }

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "from": "2022-12-28",
  "till": "2023-01-04T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries