Latest Price of RISE

Trades for a specific token on the Pancake DEX

Returns the latest DEX trade on Ethereum and BNB Chain, where base currency is 0xc7d4…6c0a, quote currency is 0xe9e7…7d56 and exchange name is Pancake or Pancake v2: transaction hash, trade index, address address, contract type, currency name, block height, base currency symbol and 4 more fields.

By Sahil · saved 7 July 2021 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {desc: ["block.height","tradeIndex"], limit: 1}
      exchangeName: {in: ["Pancake", "Pancake v2"]}
      baseCurrency: {is: "0xc7d43f2b51f44f09fbb8a691a0451e8ffcf36c0a"}
      quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
      date: {after: "2021-04-28"}
    ) {
      transaction {
        hash
      }
      tradeIndex
      smartContract {
        address {
          address
        }
        contractType
        currency {
          name
        }
      }
      tradeIndex
      block {
        height
      }
      baseCurrency {
        symbol
        address
      }
      quoteCurrency {
        symbol
        address
      }
      quotePrice
   
    }
  }
}

Similar queries