buy and sell amount of volume?

BUY - SELL

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0xb12e…7016, quote currency is 0x55d3…7955 and time since 2023-03-15: minute, quote amount, buy amount and sell amount.

By Omkar Acharekar · saved 18 March 2023 · run 15 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      baseCurrency: {is: "0xb12e8eb6b1f24e14381514d2f3b75e7c61487016"}
      quoteCurrency: {is: "0x55d398326f99059ff775485246999027b3197955"}
      time: {since: "2023-03-15T18:00:00Z", till: "2023-03-15T21:00:00Z"}
    ) {
      timeInterval {
        minute(format: "%FT%TZ", count: 15)
      }
      volume: quoteAmount(in: USD)
      buyAmount: buyAmount(in: USD)
      sellAmount: sellAmount(in: USD)
    }
  }
}

Similar queries