Get Uniswap V2 pair address
Returns one DEX trade on Ethereum, where buy currency smart contract is 0xC02a…6Cc2 and sell currency smart contract is 0x5149…86CA: pair name, pair symbol and smart contract.
What it returns
- pair name
- pair symbol
- smart contract
Filters
- buy currency smart contract is 0xC02a…6Cc2
- sell currency smart contract is 0x5149…86CA
The query
{
EVM(dataset: combined, network: eth) {
DEXTrades(
limit: {count: 1}
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}, Sell: {Currency: {SmartContract: {is: "0x514910771AF9Ca656af840dff83E8264EcF986CA"}}}}}
) {
Trade {
Dex {
Pair {
Name
Symbol
SmartContract
}
}
}
}
}
}
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