Tops_Buys__
Returns 5 DEX trades on Ethereum, where buy currency smart contract is 0x2ef8…893b, sell currency symbol is WETH, USDC or 1 more and sell amount is above 0.01, sorted by trade sell amount, highest first: buy currency symbol, buy amount, sell amount, sell currency symbol, block time, block number, transaction hash and from.
What it returns
- buy currency symbol
- buy amount
- sell amount
- sell currency symbol
- block time
- block number
- transaction hash
- from
Filters
- buy currency smart contract is 0x2ef8…893b
- sell currency symbol is WETH, USDC or 1 more
- sell amount is above 0.01
- block number is above 18813106
- block number is below 18813288
The query
query MyBuyerCompV3($limitCount: Int = 5, $excludeTokens: [String], $tokenContractAddress: String, $buyerAddress: String, $symbols: [String!]!, $amountSell: String, $netzwerk: evm_network, $blockNumberSince: String, $blockNumberTill: String) {
EVM(dataset: combined, network: $netzwerk) {
DEXTrades(
limit: {count: $limitCount}
where: {Trade: {Buy: {Currency: {SmartContract: {is: $tokenContractAddress}}, Buyer: {is: $buyerAddress}}, Sell: {Amount: {gt: $amountSell}, Currency: {Symbol: {in: $symbols}}, Buyer: {notIn: $excludeTokens}}}, Block: {Number: {gt: $blockNumberSince, lt: $blockNumberTill}}}
orderBy: {descending: Trade_Sell_Amount, descendingByField: "Block_Number"}
) {
Trade {
Buy {
Currency {
Symbol
}
Amount
}
Sell {
Amount
Currency {
Symbol
}
}
}
Block {
Time
Number
}
Transaction {
Hash
From
}
}
}
}
Variables
{
"limitCount": 5,
"netzwerk": "eth",
"tokenContractAddress": "0x2ef8a2Ccb058915E00E16aA13Cc6E36F19D8893b",
"symbols": ["WETH", "USDC", "USDT"],
"amountSell": "0.01",
"blockNumberSince": "18813106",
"blockNumberTill": "18813288",
"$excludeTokens": [
"0xae2Fc483527B8EF99EB5D9B44875F005ba1FaE13",
"0xaEC2605a04bB7709a61eF43d660712Ece030cb03"
]
}
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