coinpaprika 2
Returns DEX trades on Ethereum, where buy currency smart contract is 0xC02a…6Cc2 and block date after 2023-05-22: sum of trade buy amount, buy currency name and sell currency name.
What it returns
- sum of trade buy amount
- buy currency name
- sell currency name
Filters
- buy currency smart contract is 0xC02a…6Cc2
- block date after 2023-05-22
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
limitBy: {by: Trade_Sell_Currency_SmartContract}
where: {Block: {Date: {after: "2023-05-22"}}, Trade: {Buy: {Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}}}
) {
sum(of: Trade_Buy_Amount)
Trade {
Buy {
Currency {
Name
}
}
Sell {
Currency {
Name
}
}
}
}
}
}
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