dex trades
Returns the latest 1000 DEX trades on Ethereum and BNB Chain, where base currency is 0x268d…d96d and tx sender is 0xe3c3…e162: timestamp time, block height, trade index, protocol, base amount, base currency address, base currency symbol and 7 more fields.
What it returns
- timestamp time
- block height
- trade index
- protocol
- base amount
- base currency address
- base currency symbol
- quote amount
- quote currency address
- quote currency symbol
- sell amount
- buy amount
- transaction hash
- side
Filters
- base currency is 0x268d…d96d
- tx sender is 0xe3c3…e162
The query
query ($token: String!, $txSender: String!, $limit: Int!) {
ethereum(network: bsc) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], limit: $limit}
baseCurrency: {is: $token}
txSender: {is: $txSender}
) {
block {
timestamp {
time(format: "%Y-%m-%dT%H:%M:%SZ")
}
height
}
tradeIndex
protocol
baseAmount
baseCurrency {
address
symbol
}
quoteAmount
quoteCurrency {
address
symbol
}
sellAmount(in: USD)
buyAmount(in: USD)
transaction {
hash
}
side
}
}
}
Variables
{
"limit": 1000,
"token": "0x268da903565367ed693b050dbe284e41f5b7d96d",
"txSender": "0xe3c37012e28833ac9b95a21498ba13e313dfe162"
}
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