GetTradesForWallet
Returns the latest DEX trades on Ethereum and BNB Chain, where quote currency is 0x8173…b1b7 and exchange name is Pancake v2: timestamp time, base amount, base currency address, base currency symbol, quote amount, quote currency address, quote currency symbol and 6 more fields.
What it returns
- timestamp time
- base amount
- base currency address
- base currency symbol
- quote amount
- quote currency address
- quote currency symbol
- transaction hash
- tx from address
- trade amount
- buy amount
- sell amount
- side
Filters
- quote currency is 0x8173…b1b7
- exchange name is Pancake v2
The query
query GetTradesForAddress( $since: ISO8601DateTime, $till: ISO8601DateTime, $limit: Int, $offset: Int) {
ethereum(network: bsc) {
dexTrades(
options: {desc: ["block.timestamp.time"], limit: $limit, offset: $offset}
exchangeName: {in: ["Pancake v2"]}
time: {after: $since, before: $till}
quoteCurrency: {is: "0x8173ccc721111b5a93ce7fa6fec0fc077b58b1b7"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
baseAmount
baseCurrency {
address
symbol
}
quoteAmount
quoteCurrency {
address
symbol
}
transaction {
hash
txFrom {
address
}
}
tradeAmount(in: USD)
buyAmount(in: USD)
sellAmount(in: USD)
side
}
}
}
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