check
Returns 20 DEX trades on Ethereum, where buy currency smart contract is 0x95ad…c4ce, DEX owner address is 0x5c69…aa6f and sell currency symbol is WETH, USDC or 1 more: protocol name, owner address, smart contract, buy currency name, buy smart contract, buy currency symbol, sell currency name and 3 more fields.
What it returns
- protocol name
- owner address
- smart contract
- buy currency name
- buy smart contract
- buy currency symbol
- sell currency name
- sell smart contract
- sell protocol name
- sell currency symbol
Filters
- buy currency smart contract is 0x95ad…c4ce
- DEX owner address is 0x5c69…aa6f
- sell currency symbol is WETH, USDC or 1 more
The query
query SucheNachPairAufUniswap($smartContract: String!, $ownerAddress: String!, $netzwerk: evm_network = eth, $symbols: [String!]!) {
EVM(dataset: archive, network: $netzwerk) {
DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {is: $smartContract}, Symbol: {}}}, Sell: {Currency: {Symbol: {in: $symbols}}}, Dex: {OwnerAddress: {is: $ownerAddress}, SmartContract: {}}}}
limit: {count: 20}
limitBy: {by: Trade_Sell_Currency_SmartContract, count: 1}
) {
Trade {
Dex {
ProtocolName
OwnerAddress
SmartContract
}
Buy {
Currency {
Name
SmartContract
Symbol
}
}
Sell {
Currency {
Name
SmartContract
ProtocolName
Symbol
}
}
}
}
}
}
Variables
{
"smartContract": "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce",
"ownerAddress": "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f",
"netzwerk" : "eth",
"symbols": ["WETH", "USDC", "USDT"]
}
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