Any-Keyword-Example
Returns 10 DEX trades, where buy currency smart contract is 0xC02a…6Cc2 and sell currency smart contract is 0x4eca…05c6: buy currency symbol, buy smart contract, buy currency name, sell smart contract, sell currency symbol and sell currency name.
What it returns
- buy currency symbol
- buy smart contract
- buy currency name
- sell smart contract
- sell currency symbol
- sell currency name
Filters
- buy currency smart contract is 0xC02a…6Cc2
- sell currency smart contract is 0x4eca…05c6
The query
query MyQuery {
EVM {
DEXTrades(
where: {
any: {
Trade: {
Buy: {
Currency: {
SmartContract: {
is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
}
}
},
Sell: {
Currency: {
SmartContract: {
is: "0x4ecaba5870353805a9f068101a40e0f32ed605c6"
}
}
}
}
}
}
limit: {count: 10}
) {
Trade {
Buy {
Currency {
Symbol
SmartContract
Name
}
}
Sell {
Currency {
SmartContract
Symbol
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