Poocoin details

poocoin ohlc

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0xb27a…97cc, quote currency is 0xbb4C…095c and exchange name is Pancake v2: base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, count, trade amount and quote price.

By Divyasshree N · saved 5 January 2023 · run 36 times · Bitquery API v1

What it returns

Filters

The query

query ($baseAddress: String, $quoteAddress: String, $from: ISO8601DateTime!, $exchangeName: String) {
  ethereum(network: bsc) {
    dexTrades(
      baseCurrency: {is: $baseAddress}
      quoteCurrency: {is: $quoteAddress}
      time: {since: $from}
      exchangeName: {is: $exchangeName}
    ) {
      buyCurrency: baseCurrency {
        symbol
        address
      }
      buyAmount: baseAmount
      sellCurrency: quoteCurrency {
        symbol
        address
      }
      count
      tradeAmount(in: USD)
      quotePrice
    }
  }
}

Variables

{
  "from": "2021-12-17T00:00:00",
 
  "baseAddress": "0xb27adaffb9fea1801459a1a81b17218288c097cc",
  "quoteAddress": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
  "exchangeName": "Pancake v2"
}

Similar queries