check_tg_buys
Streams the latest DEX trades on BNB Chain as they happen, where sell currency smart contract is 0xbb4C…095c, DEX smart contract is 0x16b9…0daE and buy buyer is not 0xae2F…aE13 or 0xaEC2…cb03: from, transaction hash, buy amount, buy currency symbol, buy smart contract, sell amount, sell currency name and 2 more fields.
What it returns
- from
- transaction hash
- buy amount
- buy currency symbol
- buy smart contract
- sell amount
- sell currency name
- sell currency symbol
- block time
Filters
- sell currency smart contract is 0xbb4C…095c
- DEX smart contract is 0x16b9…0daE
- buy buyer is not 0xae2F…aE13 or 0xaEC2…cb03
- block time since 2023-11-11
The subscription
subscription SubGetTxForPairAddressV2($netzwerk: evm_network, $tokenContractAddress: String, $pairContractAddress: String, $excludeTokens: [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: $excludeTokens}}}, Block: {Time: {since: "2023-11-11T12:42:47Z"}}}
) {
Transaction {
From
Hash
}
Trade {
Buy {
Amount
Currency {
Symbol
SmartContract
}
}
Sell {
Amount
Currency {
Name
Symbol
}
}
}
Block {
Time
}
}
}
}
Variables
{
"tokenContractAddress": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"pairContractAddress": "0x16b9a82891338f9bA80E2D6970FddA79D1eb0daE",
"netzwerk": "bsc",
"excludeTokens": ["0xae2Fc483527B8EF99EB5D9B44875F005ba1FaE13", "0xaEC2605a04bB7709a61eF43d660712Ece030cb03"]
}
Similar queries
- subscribe to dex trades on ethereum mainnet · BNB Chain · DEXTrades
- Mempool - Latest BSC PancakeSwap v3 dextrades - Stream · BNB Chain · DEXTrades
- Latest BSC PancakeSwap v3 dextrades - Stream · BNB Chain · DEXTrades
- BNB dextrades · BNB Chain · DEXTrades
- stream trades on fourmeme · BNB Chain · DEXTrades