error

Returns DEX trades on Ethereum: maker address, taker address and tx from address.

By 12312slfsdfweafew · saved 10 July 2023 · Bitquery API v1

What it returns

The query

query query1 {
  ethereum(network: ethereum) {
    dexTrades(
      time: {between: ["2023-06-20T00:01:00Z", "2023-06-22T23:59:00Z"], between: ["2023-06-23T00:01:00Z", "2023-06-26T23:59:00Z"]}
      any: [{sellCurrency: {is: "0xe0A458BF4AcF353cB45e211281A334BB1d837885"}}, {buyCurrency: {is: "0xe0A458BF4AcF353cB45e211281A334BB1d837885"}}]
    ) {
      maker {
        address
      }
      taker {
        address
      }
      transaction {
        txFrom {
          address
        }
      }
    }
  }
}

Similar queries