MATTER pair

Returns DEX trades on Ethereum and BNB Chain, where buy currency is 0x1C94…b25F, exchange name is Pancake and date since 2021-03-25: buy currency address, buy currency symbol, buy currency name, sell currency address, sell currency symbol, sell currency name, address address and 4 more fields.

By zmn.wtr · saved 18 March 2021 · Bitquery API v1

What it returns

Filters

The query

query {
  ethereum(network: bsc) {
    dexTrades(
      options: {}
      exchangeName: { is: "Pancake" }
      buyCurrency: {is: "0x1C9491865a1DE77C5b6e19d2E6a5F1D7a6F2b25F" }
      date: { since: "2021-03-25" }
      time: { since: "2021-03-25T10:00:00" }
    ) {
      buyCurrency {
        address
        symbol
        name
      }

      sellCurrency {
        address
        symbol
        name
      }

      smartContract {
        address {
          address
        }
      }
      sellAmount
      buyAmount

      closePrice: maximum(of: block, get: price)
      time: maximum(of: block, get: time)
      trades: count
    }
  }
}

Similar queries