Token pairs
Returns 10 DEX trades by token on Arbitrum, where currency smart contract is 0xeba7…2b00, side currency smart contract is not 0x and block date since 2021-08-15, sorted by count, highest first: chain ID, count, currency symbol, smart contract, currency name, side currency name, side smart contract and side currency symbol.
What it returns
- chain ID
- count
- currency symbol
- smart contract
- currency name
- side currency name
- side smart contract
- side currency symbol
Filters
- currency smart contract is 0xeba7…2b00
- side currency smart contract is not 0x
- block date since 2021-08-15
- block date till 2023-08-16
The query
query ($network: evm_network, $limit: Int!, $from: String, $address: String, $till: String) {
EVM(dataset: combined, network: $network) {
DEXTradeByTokens(
limit: {count: $limit}
where: {Block: {Date: {since: $from, till: $till}}, Trade: {Currency: {SmartContract: {is: $address}}, Side: {Currency: {SmartContract: {not: "0x"}}}}}
orderBy: {descendingByField: "count"}
) {
ChainId
count
Trade {
Currency {
Symbol
SmartContract
Name
}
Side {
Currency {
Name
SmartContract
Symbol
}
}
}
}
}
}
Variables
{
"network": "arbitrum",
"limit": 10,
"from": "2021-08-15",
"till": "2023-08-16",
"address": "0xeba7a0718868553738a0d54fe650f5cbc04c2b00"
}
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