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.

By Omkar_BQ · saved 7 January 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query pairTopTraders {
  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