Nafty Cost

Nafty Token Cost

Returns the latest DEX trade on Ethereum and BNB Chain, where base currency is 0x023d…4f28, quote currency is 0x55d3…7955 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 Kris · saved 21 June 2021 · 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: "0x023dafda3b3ae4ccc50e11ae359ffd6572724f28"}
      quoteCurrency: {is: "0x55d398326f99059fF775485246999027B3197955"}
      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