Query DEX base / quote prices
Returns 10 DEX trades on Ethereum, sorted by time interval second, highest first: transaction hash, buy currency symbol, buy currency address, buy currency name, trade amount, sell currency symbol, sell currency address and 7 more fields.
What it returns
- transaction hash
- buy currency symbol
- buy currency address
- buy currency name
- trade amount
- sell currency symbol
- sell currency address
- sell currency name
- buy amount
- sell amount
- date date
- second
- gas value
- gas price
The query
query(
$wallet: String
){
ethereum(network: ethereum) {
dexTrades(
options: {
limit: 10
desc: "timeInterval.second"
}
any: [{txSender: {is: $wallet}}, {txTo: {is: $wallet}}]
) {
transaction {
hash
}
buyCurrency {
symbol
address
name
}
tradeAmount(in: ETH)
sellCurrency {
symbol
address
name
}
buyAmount
sellAmount
date {
date
}
timeInterval {
second
}
gasValue
gasPrice
}
}
}
Variables
{
"wallet": "0xdc74846f63d13669e7b2c61f7a18a0288529779f"
}
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