inflow/outflow

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0x9085…6f19 and time after 2022-08-02: buy amount, sell amount, trade amount, side, second and transaction hash.

By Nalin · saved 3 August 2022 · Bitquery API v1

What it returns

Filters

The query

query ($time: ISO8601DateTime!, $token: String!) {
  ethereum(network: bsc) {
    dexTrades(time: {after: $time}, baseCurrency: {is: $token}) {
      inflow: buyAmount(in: USD)
      outflow: sellAmount(in: USD)
      total: tradeAmount(in: USD)
      side
      timeInterval {
        second
      }
      transaction {
        hash
      }
    }
  }
}

Variables

{
  "time": "2022-08-02",
  "token": "0x9085B4d52c3e0B8B6F9AF6213E85A433c7D76f19"
}

Similar queries