volume_pair_arbitrum_
Returns DEX trades by token on Arbitrum, where DEX smart contract is 0x2f5e…299c, currency smart contract is 0x2f2a…5b0f and block time since 2025-01-06: protocol family, protocol name, smart contract, currency symbol, side currency symbol, sum of trade amount, sum of trade side amount in USD and count.
What it returns
- protocol family
- protocol name
- smart contract
- currency symbol
- side currency symbol
- sum of trade amount
- sum of trade side amount in USD
- count
Filters
- DEX smart contract is 0x2f5e…299c
- currency smart contract is 0x2f2a…5b0f
- block time since 2025-01-06
The query
query volume {
EVM(network: arbitrum, dataset: combined) {
DEXTradeByTokens(
where: {Trade: {Dex: {SmartContract: {is: "0x2f5e87c9312fa29aed5c179e456625d79015299c"}}, Currency: {SmartContract: {is: "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"}}}, Block: {Time: {since: "2025-01-06T04:36:59Z"}}}
) {
Trade {
Dex {
ProtocolFamily
ProtocolName
SmartContract
}
Currency {
Symbol
}
Side {
Currency {
Symbol
}
}
}
volume: sum(of: Trade_Amount)
volumeUsd: sum(of: Trade_Side_AmountInUSD)
count(distinct: Transaction_Hash)
}
}
}
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