sv_
Returns the latest 10 DEX trades on Ethereum, where sell currency smart contract is 0xe012…33a8, DEX smart contract is 0xc131…52e7 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 0xe012…33a8
- DEX smart contract is 0xc131…52e7
- buy buyer is not 0xae2F…aE13 or 0xaEC2…cb03
The query
query SubGetTxForPairAddressV2($netzwerk: evm_network, $tokenContractAddress: String, $pairContractAddress: String, $excludeTokens: [String]) {
EVM(network: $netzwerk, dataset: combined) {
buyside: DEXTrades(
orderBy: {descending: Block_Time}
where: {Trade: {Sell: {Currency: {SmartContract: {is: $tokenContractAddress}}}, Dex: {SmartContract: {is: $pairContractAddress}, Pair: {SmartContract: {}}}, Buy: {Buyer: {notIn: $excludeTokens}}}}
limit: {count: 10}
) {
Transaction {
From
Hash
}
Trade {
Buy {
Amount
Currency {
Symbol
}
}
Sell {
Amount
Currency {
Name
Symbol
}
}
}
}
}
}
Variables
{
"tokenContractAddress": "0xe01211c63d9bbfc95ba490243d72cc0392fa33a8",
"pairContractAddress": "0xc131dba6bd8ee6bc065200b93c15f86b7ec852e7",
"netzwerk": "eth",
"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