check
Top trades for a specific currency for specific time
Streams the latest DEX trades on Ethereum as they happen, where sell currency smart contract is 0x9813…18d9, DEX smart contract is 0xEFb4…a477 and buy buyer is not 0xae2F…aE13 or 0xaEC2…cb03: from, transaction hash, buy amount, buy currency symbol, sell amount, sell currency name and sell currency symbol.
What it returns
- from
- transaction hash
- buy amount
- buy currency symbol
- sell amount
- sell currency name
- sell currency symbol
Filters
- sell currency smart contract is 0x9813…18d9
- DEX smart contract is 0xEFb4…a477
- buy buyer is not 0xae2F…aE13 or 0xaEC2…cb03
The subscription
subscription SubGetTxForPairAddressV2($netzwerk: evm_network, $tokenContractAddress: String, $pairContractAddress: String) {
EVM(network: $netzwerk, trigger_on: head) {
buyside: DEXTrades(
orderBy: {descending: Block_Time}
where: {Trade: {Sell: {Currency: {SmartContract: {is: $tokenContractAddress}}}, Dex: {SmartContract: {is: $pairContractAddress}, Pair: {SmartContract: {}}}, Buy: {Buyer: {notIn: ["0xae2Fc483527B8EF99EB5D9B44875F005ba1FaE13", "0xaEC2605a04bB7709a61eF43d660712Ece030cb03"]}}}}
) {
Transaction {
From
Hash
}
Trade {
Buy {
Amount
Currency {
Symbol
}
}
Sell {
Amount
Currency {
Name
Symbol
}
}
}
}
}
}
Variables
{
"tokenContractAddress": "0x9813037ee2218799597d83D4a5B6F3b6778218d9",
"pairContractAddress": "0xEFb47fcFCaD4F96c83D4ca676842fB03Ef20a477",
"netzwerk": "eth"
}
Similar queries
- subscription EVM · Ethereum · DEXTrades
- Stablecoin trades for etheruem · Ethereum · DEXTrades
- Realtime Uniswap V3 Trades · Ethereum · DEXTrades
- get swaps by pair address -eth -stream · Ethereum · DEXTrades
- Realtime Uniswap v1 Uniswap v2 Uniswap V3 Trades · Ethereum · DEXTrades