Unsiwap v2 and v3 trades
Returns the latest DEX trade on Ethereum, where DEX protocol name is uniswap_v2 or uniswap_v3: from, to, protocol name, smart contract, pair name, owner address, buy currency name and 6 more fields.
What it returns
- from
- to
- protocol name
- smart contract
- pair name
- owner address
- buy currency name
- buy price
- buy amount
- sell amount
- sell currency name
- sell price
- block time
Filters
- DEX protocol name is uniswap_v2 or uniswap_v3
The query
query MyQuery {
EVM(dataset: realtime, network: eth) {
DEXTrades(
where: {Trade: {Dex: {ProtocolName: {in: ["uniswap_v2", "uniswap_v3"]}}}}
limit: {count: 1}
orderBy: {descending: Block_Number}
) {
Transaction {
From
To
}
Trade {
Dex {
ProtocolName
SmartContract
Pair {
Name
}
OwnerAddress
}
Buy {
Currency {
Name
}
Price
Amount
}
Sell {
Amount
Currency {
Name
}
Price
}
}
Block {
Time
}
}
}
}
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