GetPrice
Returns 10 DEX trades on Ethereum and BNB Chain, where base currency is 0xEF33…4407 and quote currency is 0xbb4c…095c, sorted by quote currency symbol: quote currency symbol, quote currency name, quote currency address, base currency symbol, base currency address, base currency name, quote price and maximum of block.
What it returns
- quote currency symbol
- quote currency name
- quote currency address
- base currency symbol
- base currency address
- base currency name
- quote price
- maximum of block
Filters
- base currency is 0xEF33…4407
- quote currency is 0xbb4c…095c
The query
query (
$network: EthereumNetwork!,
$wbnb: String!,
$token00: String!,
$limit: Int!,
) {
ethereum(network: $network) {
count0: dexTrades(
options: {limit: $limit, asc: "quoteCurrency.symbol"}
baseCurrency: {is: $token00}
quoteCurrency: {is: $wbnb}
) {
quoteCurrency {
symbol
name
address
}
baseCurrency {
symbol
address
name
}
quotePrice
close: maximum(of: block, get: quote_price)
}
}
}
Variables
{
"limit": 10,
"network": "bsc",
"token00": "0xEF3330aB2E4B84Bb9F5A59799D7eEfD2868c4407",
"wbnb": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"
}
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