Latest Price of a token on PancakeSwap
Latest token price on PancakeSwap DEX
Returns the latest 2 DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4C…095c, quote currency is 0x92a4…68b5 and exchange name is Pancake: timestamp time, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 2 more fields.
What it returns
- timestamp time
- base currency symbol
- base currency address
- base amount
- quote currency symbol
- quote currency address
- quote amount
- count
- quote price
Filters
- base currency is 0xbb4C…095c
- quote currency is 0x92a4…68b5
- exchange name is Pancake
The query
{
ethereum(network: bsc) {
dexTrades(
options: {limit: 2, desc: "block.timestamp.time"}
exchangeName: {is: "Pancake"}
baseCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
quoteCurrency: {is: "0x92a42db88ed0f02c71d439e55962ca7cab0168b5"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
baseCurrency {
symbol
address
}
baseAmount
quoteCurrency {
symbol
address
}
quoteAmount
trades: count
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