dex query

Returns DEX trades on Ethereum and BNB Chain, where smart contract address is 0xaF0e…5e5e, time after 2022-02-01 and time till 2022-02-01: count, trade amount and minute.

By gaurav · saved 1 February 2022 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      smartContractAddress: {is: "0xaF0e615D5F58550938812107Cf0DEA9340CF5e5e"}
      time: {after: "2022-02-01T14:38:00.000Z", till: "2022-02-01T14:39:00.000Z"}
    ) {
      count
      tradeAmount(in: USD)
      timeInterval {
        minute(count: 1)
      }
    }
  }
}

Similar queries