dexTrades for wallet fix
Returns the latest 100 DEX trades on Ethereum, where tx sender is 0x73a3…20cB and date is 2023-11-07: base amount, buy amount, block height, unixtime, sell amount, tx from address, gas value and 6 more fields.
What it returns
- base amount
- buy amount
- block height
- unixtime
- sell amount
- tx from address
- gas value
- transaction hash
- side
- quote currency name
- quote currency symbol
- quote currency address
- quote amount
Filters
- tx sender is 0x73a3…20cB
- date is 2023-11-07
The query
query get_dex_trades($address: String, $date: ISO8601DateTime) {
ethereum {
dexTrades(
options: {limit: 100, desc: "block.timestamp.unixtime"}
date: {is: $date}
txSender: {is: $address}
) {
baseAmount(in: USD)
buyAmount(in: USD)
block {
height
timestamp {
unixtime
}
}
sellAmount(in: USD)
transaction {
txFrom {
address
}
gasValue
hash
}
side
quoteCurrency {
name
symbol
address
}
quoteAmount
}
}
}
Variables
{
"address": "0x73a3225e206b236c63c34D828D9324Cce7AE20cB",
"date": "2023-11-07"
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades