uniswap pancakeswap
Returns the latest DEX trades by token on Arbitrum, where currency smart contract is 0x0c88…c9e8 or 0x82af…bab1 and DEX owner address is 0x1f98…f984 or 0x0bfb…1865: smart contract, currency symbol, side smart contract, side currency symbol, price in USD, protocol name, delegated and 2 more fields.
What it returns
- smart contract
- currency symbol
- side smart contract
- side currency symbol
- price in USD
- protocol name
- delegated
- delegated to
- owner address
Filters
- currency smart contract is 0x0c88…c9e8 or 0x82af…bab1
- DEX owner address is 0x1f98…f984 or 0x0bfb…1865
The query
query MyQuery {
EVM(network: arbitrum, dataset: realtime) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {in: ["0x0c880f6761f1af8d9aa9c466984b80dab9a8c9e8", "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"]}}, Success: true, Dex: {OwnerAddress: {in: ["0x1f98431c8ad98523631ae4a59f267346ea31f984", "0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865"]}}}}
orderBy: {descending: Block_Time}
limitBy: {by: Trade_Dex_ProtocolName, count: 1}
) {
Trade {
Currency {
SmartContract
Symbol
}
Side {
Currency {
SmartContract
Symbol
}
}
PriceInUSD
Dex {
ProtocolName
Delegated
DelegatedTo
OwnerAddress
}
}
}
}
}
Similar queries
- optimized query to get pools data · Ethereum · DEXTradeByTokens
- AfricaCryptoChainx · Ethereum · DEXTradeByTokens
- UniversalSearch EVM · Ethereum · DEXTradeByTokens
- without fragment · Ethereum · DEXTradeByTokens
- trade stats for a token pair on uniswap v4 arbitrum · Arbitrum · DEXTradeByTokens