pancakeswap v1 FREE/WBNB

Returns DEX trades on Ethereum and BNB Chain, where smart contract address is 0xec9e…e73a, exchange address is 0xbcfc…2812 and time since 2024-10-07: base currency symbol, base currency address, base currency name, quote currency symbol, quote currency address, quote currency name, base amount and 9 more fields.

By Coinranking · saved 8 October 2024 · run 6 times · Bitquery API v1

What it returns

Filters

The query

query fetchTickers($network: EthereumNetwork!, $exchangeAddress: String!, $twentyFourHoursAgo: ISO8601DateTime!, $marketAddresses: [String!]!) {
  exchange: ethereum(network: $network) {
    tickers: dexTrades(
      time: {since: $twentyFourHoursAgo}
      smartContractAddress: {in: $marketAddresses}
      exchangeAddress: {is: $exchangeAddress}
    ) {
      baseCurrency {
        symbol
        address
        name
      }
      quoteCurrency {
        symbol
        address
        name
      }
      baseVolume: baseAmount
      quoteVolume: quoteAmount
      open: minimum(of: time, get: quote_price)
      high: maximum(of: quote_price, get: quote_price)
      low: minimum(of: quote_price, get: quote_price)
      close: maximum(of: time, get: quote_price)
      smartContract {
        address {
          address
        }
      }
      buyAddress: any(of: buy_currency_address)
      sellAddress: any(of: sell_currency_address)
      side
    }
  }
}

Variables

{
  "twentyFourHoursAgo": "2024-10-07T11:32:06.024Z",
  "network": "bsc",
  "exchangeAddress": "0xbcfccbde45ce874adcb698cc183debcf17952812",
  "marketAddresses": [
    "0xec9ee317f0039d40883a0ac5bf91bc5dd142e73a"
  ]
}

Similar queries