Maker/Taker BSC

Returns 10 DEX trades on Ethereum and BNB Chain, where buy currency is 0x8D3E…c851 or 0xbb4c…095c, sell currency is 0x8D3E…c851 or 0xbb4c…095c and exchange name is Pancake v2, sorted by time interval second, highest first: second, buy currency symbol, buy currency address, sell currency symbol, sell currency address, buy amount, sell amount and 4 more fields.

By Kevin · saved 18 November 2021 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 10, desc: "timeInterval.second"}
      exchangeName: {in: ["Pancake v2"]}
      buyCurrency: {in: ["0x8D3E3A57c5F140B5f9Feb0d43D37A347ee01c851", "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"]}
      sellCurrency: {in: ["0x8D3E3A57c5F140B5f9Feb0d43D37A347ee01c851", "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"]}
    ) {
      timeInterval {
        second(format: "%FT%TZ", count: 1)
      }
      buyCurrency {
        symbol
        address
      }
      sellCurrency {
        symbol
        address
      }
      buyAmount
      sellAmount
      buyAmountEth: buyAmount(in: ETH)
      sellAmountEth: sellAmount(in: ETH)
      buyAmountUsd: buyAmount(in: USD)
      sellAmountUsd: sellAmount(in: USD)
      count
           smartContract {
        address {
          address
        }
      }
      taker {
        address
      }
      maker {
        address
      }
    }
  }
}

Similar queries