Shared for Fret
sellCurrency is the token addresses that are monitored. buyCurrency is the liquidity token that was swapped to receive the tokens.
What it returns
- full name
- block height
- iso8601
- buy currency symbol
- sell amount
- sell currency symbol
- trade index
- transaction hash
- buy amount
Filters
- buy currency is 0xbb4C…095c
- sell currency is 0x348e…cb3b or 0x0733…a974
- exchange name is Pancake or Pancake v2
- date since 2022-10-28
The query
{
ethereum(network: bsc) {
dexTrades(
date: {since: "2022-10-28"}
options: {limit: 30, desc: ["block.height", "tradeIndex"]}
exchangeName: {in: ["Pancake", "Pancake v2"]}
buyCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
sellCurrency: {in: ["0x348e9ecb19a3f141a60845a29a32c701dc0ecb3b", "0x07335a076184c0453ae1987169d9c7ab7047a974"]}
buyAmount: {gteq: 1}
) {
exchange {
fullName
}
block {
height
timestamp {
iso8601
}
}
buyCurrency {
symbol
}
sellAmount
sellAmountInUsd: sellAmount(in: USD)
sellCurrency {
symbol
}
tradeIndex
transaction {
hash
}
buyAmountInUsd: buyAmount(in: USD)
}
}
}
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