latest trades
Returns the latest 50 DEX trades by token on Ethereum, where currency smart contract is 0x2260…c599 and trade price is above 0: block time, owner address, protocol family, protocol name, amount in USD, buyer, seller and 10 more fields.
What it returns
- block time
- owner address
- protocol family
- protocol name
- amount in USD
- buyer
- seller
- side type
- side buyer
- side seller
- trade price
- trade amount
- side currency symbol
- side smart contract
- side currency name
- side amount in USD
- side amount
Filters
- currency smart contract is 0x2260…c599
- trade price is above 0
The query
query LatestTrades($network: evm_network, $token: String) {
EVM(network: $network) {
DEXTradeByTokens(
orderBy: {descending: Block_Time}
limit: {count: 50}
where: {Trade: {Currency: {SmartContract: {is: $token}}, Price: {gt: 0}}}
) {
Block {
allTime: Time
}
Trade {
Dex {
OwnerAddress
ProtocolFamily
ProtocolName
}
AmountInUSD
Buyer
Seller
Side {
Type
Buyer
Seller
}
Price
Amount
Side {
Currency {
Symbol
SmartContract
Name
}
AmountInUSD
Amount
}
}
}
}
}
Variables
{
"network": "eth",
"token": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
}
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