[BSC] 0x API Fills, by DEX

Returns DEX trades on Ethereum and BNB Chain, where tx to is 0xdef1…5eff, sorted by date date: date date, full name, count and trade amount.

By suidanning · saved 17 March 2021 · Bitquery API v1

What it returns

Filters

The query

query ($from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: bsc) {
    dexTrades(
      options: {asc: "date.date"}
      date: {since: $from, till: $till}
      txTo: {is: "0xdef1c0ded9bec7f1a1670819833240f027b25eff"}
    ) {
      date: date {
        date(format: "%Y-%m-%d")
      }
      exchange {
        fullName
      }
      count
      tradeAmount(in: USD)
    }
  }
}

Similar queries