dexTrades, side, amount usd
Returns the latest 10 DEX trades on Ethereum and BNB Chain, where base currency is 0xd3c3…f17e, date since 2022-01-25 and date till 2022-02-23: timestamp time, block height, side, trade index, protocol, full name, address address and 9 more fields.
What it returns
- timestamp time
- block height
- side
- trade index
- protocol
- full name
- address address
- annotation
- base amount
- base currency address
- base currency symbol
- quote amount
- quote currency address
- quote currency symbol
- transaction hash
- sell amount
Filters
- base currency is 0xd3c3…f17e
- date since 2022-01-25
- date till 2022-02-23
The query
query ($network: EthereumNetwork!, $token: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], limit: $limit, offset: $offset}
date: {since: $from, till: $till}
baseCurrency: {is: $token}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
side
tradeIndex
protocol
exchange {
fullName
}
smartContract {
address {
address
annotation
}
}
baseAmount
baseCurrency {
address
symbol
}
quoteAmount(in: USD)
quoteCurrency {
address
symbol
}
transaction {
hash
}
sellAmount(in: USD)
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "bsc",
"token": "0xd3c325848d7c6e29b574cb0789998b2ff901f17e",
"from": "2022-01-25",
"till": "2022-02-23T23: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