Trade order pairs
Returns 10 DEX trades on Tron, sorted by count, highest first: sell currency symbol, sell currency address, token type, sell amount, buy currency symbol, buy currency address, buy amount and 4 more fields.
What it returns
- sell currency symbol
- sell currency address
- token type
- sell amount
- buy currency symbol
- buy currency address
- buy amount
- count
- price
- maximum of block
- minimum of date
The query
query ($network: TronNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
tron(network: $network) {
dexTrades(
options: {desc: "count", limit: $limit, offset: $offset}
date: {since: $from, till: $till}
) {
sellCurrency {
symbol
address
tokenType
}
sellAmount
buyCurrency {
symbol
address
tokenType
}
buyAmount
count
median_price: price(calculate: median)
last_price: maximum(of: block, get: price)
dates: count(uniq: dates)
started: minimum(of: date)
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "tron",
"from": null,
"till": null,
"dateFormat": "%Y-%m"
}
Similar queries
- Tron DEXTrades · Tron · DEXTrades
- tron_dextrade_finak · Tron · DEXTrades
- latest sun pump trades · Tron · DEXTrades
- latest tron dextrades · Tron · DEXTrades
- tron_dextrades · Tron · DEXTrades