Pancake pairs

Запрос для получения кумулятивной информации по транзакциям в одну и в другую сторону

By Rustam · saved 27 June 2022 · run 46 times · Bitquery API v1

What it returns

Filters

The query

query Pairs($limit: Int, $offset: Int, $from: ISO8601DateTime!, $exchangeName: [String!], $gt: Float) {
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: $limit, offset: $offset}
      exchangeName: {in: $exchangeName}
      date: {since: $from}
      time: {since: $from}
      tradeAmountUsd: {gt: $gt}
    ) {
      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
    }
  }
}

Variables

{
    "limit": 10000,
  "offset": 0,
  "exchangeName": [
    "Pancake",
    "Pancake v2"
  ],
  "from": "2022-06-25",
  "gt": 10
}

Similar queries