For Support
Dex Issue
Returns 10 DEX trades on Ethereum and BNB Chain, where maker or taker is 0xe3a7…b081, date since 2024-02-04 and date till 2024-02-04, sorted by count, highest first: sell currency symbol, sell currency address, sell amount, buy currency symbol, buy currency address, buy amount, count and 3 more fields.
What it returns
- sell currency symbol
- sell currency address
- sell amount
- buy currency symbol
- buy currency address
- buy amount
- count
- price
- maximum of block
- minimum of date
Filters
- maker or taker is 0xe3a7…b081
- date since 2024-02-04
- date till 2024-02-04
The query
query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime, $address: String!) {
ethereum(network: $network) {
dexTrades(
options: {desc: "count", limit: $limit, offset: $offset}
date: {since: $from, till: $till}
makerOrTaker: {is: $address}
) {
sellCurrency {
symbol
address
}
sellAmount
sell_amount_usd: sellAmount(in: USD)
buyCurrency {
symbol
address
}
buyAmount
buy_amount_usd: buyAmount(in: USD)
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": "bsc",
"address": "0xe3a73d32e49802d201eab55f46c17a4ae87cb081",
"from": "2024-02-04",
"till": "2024-02-04T23:59:59",
"dateFormat": "%Y-%m-%d"
}
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