getUsdPrice
Returns the latest 5 DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4c…095c, quote currency is 0xe9e7…7d56 and trade amount USD is above 10: timestamp time, count and quote price.
What it returns
- timestamp time
- count
- quote price
Filters
- base currency is 0xbb4c…095c
- quote currency is 0xe9e7…7d56
- trade amount USD is above 10
The query
query getPrices($till: ISO8601DateTime) {
ethereum(network: bsc) {
dexTrades(
options: {limit: 5, desc: "block.timestamp.time"}
baseCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
tradeAmountUsd: {gt: 10}
time: {till: $till}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
count
quotePrice(calculate: median)
}
}
}
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