Get pair token
Returns the latest DEX trade on Ethereum and BNB Chain, where base currency is 0xca57…def0 and exchange name is Pancake: address address, block height, buy currency symbol, buy currency address, sell currency symbol and sell currency address.
What it returns
- address address
- block height
- buy currency symbol
- buy currency address
- sell currency symbol
- sell currency address
Filters
- base currency is 0xca57…def0
- exchange name is Pancake
The query
query ($address: String!) {
ethereum(network: bsc) {
dexTrades(
options: {limit: 1, desc: "block.height"}
exchangeName: {is: "Pancake"}
baseCurrency: {is: $address}
) {
smartContract {
address {
address
}
}
block {
height
}
buyCurrency {
symbol
address
}
sellCurrency {
symbol
address
}
}
}
}
Variables
{
"address": "0xca578afee65fd2268d383f8fc4a9fc6ae1d2def0"
}
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