get_token_address_by_pair
for QR
Returns one DEX trade on Ethereum, where sell currency smart contract is 0xc02a…6cc2 and buy buyer is 0xaeca…4e77: sell smart contract, sell currency symbol, sell buyer, sell seller, buy currency symbol, buy smart contract, buy buyer and 2 more fields.
What it returns
- sell smart contract
- sell currency symbol
- sell buyer
- sell seller
- buy currency symbol
- buy smart contract
- buy buyer
- buy seller
- sender
Filters
- sell currency smart contract is 0xc02a…6cc2
- buy buyer is 0xaeca…4e77
The query
query get_token_address_by_pair{
EVM(dataset: combined, network: eth) {
DEXTrades(
where: {Trade: {Sell: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}, Buy: {Buyer: {is: "0xaeca06cd3948e8c28a50f0520202c59f639f4e77"}}}}
limit: {count: 1}
) {
Trade {
Sell {
Currency {
SmartContract
Symbol
}
Buyer
Seller
}
Buy {
Currency {
Symbol
SmartContract
}
Buyer
Seller
}
Sender
}
}
}
}
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