teste
Returns the latest 2 DEX trades on Ethereum and BNB Chain, where base currency is 0x036d…47f6, quote currency is 0x96b2…b7aa and exchange name is Pancake v2: timestamp time, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 2 more fields.
What it returns
- timestamp time
- base currency symbol
- base currency address
- base amount
- quote currency symbol
- quote currency address
- quote amount
- count
- quote price
Filters
- base currency is 0x036d…47f6
- quote currency is 0x96b2…b7aa
- exchange name is Pancake v2
The query
{
ethereum(network: bsc) {
dexTrades(
options: {limit: 2, desc: "block.timestamp.time"}
exchangeName: {is: "Pancake v2"}
baseCurrency: {is: "0x036d7af982e4e43054534eca21604be3c8f547f6"}
quoteCurrency: {is: "0x96b277bdb84e6aa819b2dba1bf296a8c71e0b7aa"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
baseCurrency {
symbol
address
}
baseAmount
quoteCurrency {
symbol
address
}
quoteAmount
trades: count
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