latest trades of pair on Uniswap
Returns the latest 50 DEX trades by token on Ethereum, where side currency smart contract is 0xa0b8…eb48, currency smart contract is 0xc02a…6cc2 and DEX protocol name is uniswap_v3, uniswap_v2 or 1 more: block time, owner address, protocol family, protocol name, currency symbol, smart contract, currency name and 9 more fields.
What it returns
- block time
- owner address
- protocol family
- protocol name
- currency symbol
- smart contract
- currency name
- trade price
- amount in USD
- trade amount
- side type
- side currency symbol
- side smart contract
- side currency name
- side amount in USD
- side amount
Filters
- side currency smart contract is 0xa0b8…eb48
- currency smart contract is 0xc02a…6cc2
- DEX protocol name is uniswap_v3, uniswap_v2 or 1 more
- side amount is above 0
The query
query LatestTrades {
EVM(network: eth) {
DEXTradeByTokens(
orderBy: {descending: Block_Time}
limit: {count: 50}
where: {Trade: {Side: {Amount: {gt: "0"}, Currency: {SmartContract: {is: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}}}, Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}, Dex: {ProtocolName: {in: ["uniswap_v3", "uniswap_v2", "uniswap_v1"]}}}}
) {
Block {
allTime: Time
}
Trade {
Dex {
OwnerAddress
ProtocolFamily
ProtocolName
}
Currency {
Symbol
SmartContract
Name
}
Price
AmountInUSD
Amount
Side {
Type
Currency {
Symbol
SmartContract
Name
}
AmountInUSD
Amount
}
}
}
}
}
Similar queries
- CRV hourly OHLC on Curve - Ethereum · Ethereum · DEXTradeByTokens
- Top Metric liquidity pools by 24h volume on Ethereum · Ethereum · DEXTradeByTokens
- ATH of eth token · Ethereum · DEXTradeByTokens
- historical price and historical volume · Ethereum · DEXTradeByTokens
- topTraders EVM · Ethereum · DEXTradeByTokens