last price of token
King token price apeswap
Returns the latest DEX trade on Ethereum and BNB Chain, where base currency is 0xcf2d…c7af, quote currency is 0xe9e7…7d56 and exchange name is Pancake, Pancake v2 or 1 more: transaction hash, trade index, address address, contract type, currency name, block height, base currency symbol and 4 more fields.
What it returns
- transaction hash
- trade index
- address address
- contract type
- currency name
- block height
- base currency symbol
- base currency address
- quote currency symbol
- quote currency address
- quote price
Filters
- base currency is 0xcf2d…c7af
- quote currency is 0xe9e7…7d56
- exchange name is Pancake, Pancake v2 or 1 more
- date after 2021-04-28
The query
{
ethereum(network: bsc) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], limit: 1}
exchangeName: {in: ["Pancake", "Pancake v2", "ApeSwap"]}
baseCurrency: {is: "0xcf2d2ce89aed0073540c497fcf894ea22d37c7af"}
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
- 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