pools details

Returns 7 DEX trades and address details on Ethereum and BNB Chain, where smart contract address is 0x16b9…0dae and address is 0x16b9…0dae, sorted by time interval day, highest first: trade amount, buy amount, sell amount, day, currency address, currency name, currency symbol and balances value.

By gaurav · saved 14 June 2022 · run 5 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      smartContractAddress: {is: "0x16b9a82891338f9ba80e2d6970fdda79d1eb0dae"}
      options: {desc: "timeInterval.day", limit: 7}
    ) {
      tradeAmount(calculate: sum, in: USD)
      buyAmount(calculate: sum, in: USD)
      sellAmount(calculate: sum, in: USD)
      timeInterval {
        day(count: 1)
      }
    }
    balance: address(address: {is: "0x16b9a82891338f9ba80e2d6970fdda79d1eb0dae"}) {
      balances {
        currency {
          address
          name
          symbol
        }
        value
      }
    }
  }
}

Similar queries