get Multiple basecurrecy Transactions

Returns 200 DEX trades on Ethereum and BNB Chain, where base currency is 0xe9e7…7d56, quote currency is 0xbb4c…095c, 0x55d3…7955 or 1 more and exchange name is Pancake, Pancake v2 or 1 more, sorted by time interval minute, highest first: minute, transaction hash, to address, tx from address, side, base amount, base currency address and 3 more fields.

By Isha · saved 7 September 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 200, desc: "timeInterval.minute"}
      baseCurrency: {in: ["0xe9e7cea3dedca5984780bafc599bd69add087d56"]}
      quoteCurrency: {in: ["0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c", "0x55d398326f99059ff775485246999027b3197955", "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"]}
      exchangeName: {in: ["Pancake", "Pancake v2", "Uniswap"]}
    ) {
      timeInterval {
        minute(count: 1)
      }
      transaction {
        hash
        to {
          address
        }
        txFrom {
          address
        }
      }
      side
      baseAmount
      baseCurrency {
        address
        symbol
      }
      quoteCurrency {
        address
        symbol
      }
    }
  }
}

Similar queries