sss
Returns DEX trades by token on Ethereum, where pair smart contract is 0xc32C…1bE8 and block number is 18226636: count.
What it returns
- count
Filters
- pair smart contract is 0xc32C…1bE8
- block number is 18226636
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTradeByTokens(
where: {Trade: {Dex: {Pair: {SmartContract: {is: "0xc32C2d9768919DEaEE60F7eB163A293c6eb81bE8"}}}}, Block: {Number: {eq: "18226636"}}}
) {
uniqbuyers: count(
distinct: Trade_Buyer
if: {Trade: {Currency: {SmartContract: {is: "0x356e17967206eFb413b60AB0Ba44E269063A26c9"}}}}
)
uniqsellers: count(
distinct: Trade_Seller
if: {Trade: {Currency: {SmartContract: {is: "0x356e17967206eFb413b60AB0Ba44E269063A26c9"}}}}
)
txncount: count(distinct: Transaction_Hash)
NoofSell: count(
if: {Trade: {Currency: {SmartContract: {is: "0x356e17967206eFb413b60AB0Ba44E269063A26c9"}}, Side: {Type: {is: buy}}}}
)
NoofBuy: count(
if: {Trade: {Currency: {SmartContract: {is: "0x356e17967206eFb413b60AB0Ba44E269063A26c9"}}, Side: {Type: {is: sell}}}}
)
}
}
}
Similar queries
- CRV hourly OHLC on Curve - Ethereum · Ethereum · DEXTradeByTokens
- Top Metric liquidity pools by 24h volume on Ethereum · Ethereum · DEXTradeByTokens
- ATH of eth token · Ethereum · DEXTradeByTokens
- historical price and historical volume · Ethereum · DEXTradeByTokens
- topTraders EVM · Ethereum · DEXTradeByTokens