ticket#__8341_query_1
Returns the latest 10 DEX trades on Ethereum: buy smart contract, buy currency name, buy amount, sell currency name, sell smart contract, sell amount, block time and 2 more fields.
What it returns
- buy smart contract
- buy currency name
- buy amount
- sell currency name
- sell smart contract
- sell amount
- block time
- transaction hash
- from
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
where: {any: [{Trade: {Buy: {Currency: {SmartContract: {is: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"}}}}}, {Trade: {Sell: {Currency: {SmartContract: {is: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"}}}}}]}
orderBy: {descending: Block_Number}
limit: {count: 10}
) {
Trade {
Buy {
Currency {
SmartContract
Name
}
Amount
}
Sell {
Currency {
Name
SmartContract
}
Amount
}
}
Block {
Time
}
Transaction {
Hash
From
}
}
}
}
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