V2_
latest trades for a token - both buy and sell
Returns one DEX trade by token on Ethereum, where currency smart contract is 0x1484…d5AA, sorted by block number: buyer, currency name, transaction hash, transaction index and block number.
What it returns
- buyer
- currency name
- transaction hash
- transaction index
- block number
Filters
- currency smart contract is 0x1484…d5AA
The query
{
EVM(dataset: combined, network: eth) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: "0x1484c3ecF35DE63C308Dfc102BdeB290dAefd5AA"}}}}
orderBy: {ascending: Block_Number, ascendingByField: "Transaction_Index"}
limit: {count: 1}
) {
Trade {
Buyer
Currency {
Name
}
}
Transaction {
Hash
Index
}
Block {
Number
}
}
}
}
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