Dextrade_eth_aprs
Returns DEX trades on Ethereum: count.
What it returns
- count
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
where: {any: [{Trade: {Buy: {Currency: {SmartContract: {is: "0xd53bd4d2a303f2d046c94c3553d0a34e903a9afb"}}}}}, {Trade: {Sell: {Currency: {SmartContract: {is: "0xd53bd4d2a303f2d046c94c3553d0a34e903a9afb"}}}}}], TransactionStatus: {Success: true}}
) {
buy: count(
distinct: Transaction_Hash
if: {Trade: {Buy: {Currency: {SmartContract: {is: "0xd53bd4d2a303f2d046c94c3553d0a34e903a9afb"}}}}}
)
sell: count(
distinct: Transaction_Hash
if: {Trade: {Sell: {Currency: {SmartContract: {is: "0xd53bd4d2a303f2d046c94c3553d0a34e903a9afb"}}}}}
)
}
}
}
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