inca query

Returns the latest 25000 DEX trades on Ethereum and BNB Chain, where exchange name is Pancake v2, time before 2022-03-01 and time after 2022-02-15: block height, timestamp time, tx from address, transaction hash, base amount, base currency symbol, base currency address and 3 more fields.

By gaurav · saved 15 August 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      exchangeName: {is: "Pancake v2"}
      options: {desc: ["block.timestamp.time"], limit: 25000, offset: 0}
      time: {before: "2022-03-01T00:00:00Z", after: "2022-02-15T00:00:00Z"}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%dT%H:%M:%SZ")
        }
      }
      transaction {
        txFrom {
          address
        }
        hash
      }
      baseAmount(in: USD)
      baseCurrency {
        symbol
        address
      }
      quoteCurrency {
        symbol
        address
      }
      quoteAmount(in: USD)
    }
  }
}

Similar queries