xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Trades for a shake token on the Pancake DEX
Returns the latest DEX trade on Ethereum and BNB Chain, where base currency is 0xba8a…d8d0, quote currency is 0xbb4c…095c and exchange name is Pancake or Pancake v2: transaction hash, trade index, address address, contract type, currency name, date date, block height and 10 more fields.
What it returns
- transaction hash
- trade index
- address address
- contract type
- currency name
- date date
- block height
- buy amount
- buy currency symbol
- buy currency address
- sell amount
- sell currency symbol
- sell currency address
- trade amount
- gas value
- gas price
- gas
Filters
- base currency is 0xba8a…d8d0
- 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: "0xba8a6ef5f15ed18e7184f44a775060a6bf91d8d0"}
quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
) {
transaction {
hash
}
tradeIndex
smartContract {
address {
address
}
contractType
currency {
name
}
}
tradeIndex
date {
date
}
block {
height
}
buyAmount
buyAmountInUsd: buyAmount(in: USD)
buyCurrency {
symbol
address
}
sellAmount
sellAmountInUsd: sellAmount(in: USD)
sellCurrency {
symbol
address
}
sellAmountInUsd: sellAmount(in: USD)
tradeAmount(in: USD)
transaction {
gasValue
gasPrice
gas
}
}
}
}
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