SWAP QUESTION fixed
Returns the latest 100 DEX trades on Ethereum, where exchange name is Uniswap and protocol is Uniswap v2 or Uniswap v3: transaction hash, gas value, gas price, gas, buy amount, buy currency symbol, buy currency address and 5 more fields.
What it returns
- transaction hash
- gas value
- gas price
- gas
- buy amount
- buy currency symbol
- buy currency address
- sell amount
- sell currency symbol
- sell currency address
- protocol
- timestamp time
Filters
- exchange name is Uniswap
- protocol is Uniswap v2 or Uniswap v3
The query
query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!) {
ethereum(network: $network) {
dexTrades(
options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
any: [{txSender: {is: $address}}, {taker: {is: $address}}]
exchangeName: {is: "Uniswap"}
protocol: {in: ["Uniswap v2", "Uniswap v3"]}
) {
transaction {
hash
gasValue
gasPrice
gas
}
buyAmount
buyCurrency {
symbol
address
}
sellAmount
sellCurrency {
symbol
address
}
protocol
block {
timestamp {
time
}
}
}
}
}
Variables
{
"network": "ethereum",
"address": "0xabded70836f3377e4ae9460b1aad5809536f048a",
"limit": 100,
"offset": 0
}
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