count_trades
Returns DEX trades on Ethereum, where buy buyer is 0xB54c…E00E, buy currency smart contract is 0x75C9…c1BA and sell seller is 0xB54c…E00E: count.
What it returns
- count
Filters
- buy buyer is 0xB54c…E00E
- buy currency smart contract is 0x75C9…c1BA
- sell seller is 0xB54c…E00E
- sell currency smart contract is 0x75C9…c1BA
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
Buys:DEXTrades(
where: {Trade: {Buy: {Buyer: {is: "0xB54ce26f2E30F64c5b684b141311Ce138AB5E00E"}, Currency: {SmartContract: {is: "0x75C97384cA209f915381755c582EC0E2cE88c1BA"}}}}}
) {
count
}
Sells:DEXTrades(
where: {Trade: {Sell: {Seller: {is: "0xB54ce26f2E30F64c5b684b141311Ce138AB5E00E"}, Currency: {SmartContract: {is: "0x75C97384cA209f915381755c582EC0E2cE88c1BA"}}}}}
) {
count
}
}
}
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