token price
Returns the latest DEX trade on Ethereum and BNB Chain, where base currency is 0x599b…12A4, quote currency is 0xbb4C…095c and exchange name is Pancake or Pancake v2: trade index, block height and quote price.
What it returns
- trade index
- block height
- quote price
Filters
- base currency is 0x599b…12A4
- quote currency is 0xbb4C…095c
- exchange name is Pancake or Pancake v2
The query
{
ethereum(network: bsc) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], limit: 1}
exchangeName: {in: ["Pancake", "Pancake v2"]}
baseCurrency: {is: "0x599beec263FA6eA35055011967597B259FC012A4"}
quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
) {
tradeIndex
block {
height
}
quotePrice
}
}
}
Similar queries
- Latest DODO DEX swaps on BSC · BNB Chain · DEXTrades
- Top DODO liquidity pools by 24h volume on BSC · BNB Chain · DEXTrades
- trades · Ethereum · DEXTrades
- metric_v1_bsc · BNB Chain · DEXTrades
- bsc_tessera · BNB Chain · DEXTrades