Price of all token in 1 query
Price of all tokens in 1 query
Returns the latest DEX trade on Ethereum and BNB Chain, where base currency is not 0xbb4c…095c, quote currency is 0xbb4c…095c 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.
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 not 0xbb4c…095c
- quote currency is 0xbb4c…095c
- exchange name is Pancake or Pancake v2
- date after 2021-07-27
The query
{
ethereum(network: bsc) {
dexTrades(
options: {desc: ["block.height","tradeIndex"], limitBy: {each: "baseCurrency.address" limit: 1} limit: 1}
exchangeName: {in: ["Pancake", "Pancake v2"]}
baseCurrency: {not: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
date: {after: "2021-07-27"}
) {
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