[BSC] 0x API - Pancake VIP

Returns DEX trades on Ethereum and BNB Chain, where tx to is 0xdef1…5eff and exchange name is Pancake, sorted by currency amount, highest first: base currency symbol, base currency address, count, base amount and minimum of date.

By suidanning · saved 18 March 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: bsc) {
    dexTrades(
      options: {desc: "currencyAmount"}
      date: {since: $from, till: $till}
      txTo: {is: "0xdef1c0ded9bec7f1a1670819833240f027b25eff"}
      exchangeName: {is: "Pancake"}

    ) {
      currency: baseCurrency {
        symbol
        address
      }
      count
      currencyAmount: baseAmount(in: USD)
      dates: count(uniq: dates)
      started: minimum(of: date)
    }
  }
}

Similar queries