volume_pair_WBTC/WETH

Returns DEX trades by token on Arbitrum, where currency smart contract is 0x2f2a…5b0f, side currency smart contract is 0x82af…bab1 and DEX protocol name is uniswap_v3, sorted by volume, highest first: protocol family, protocol name, smart contract, currency symbol, side currency symbol and sum of trade amount.

By Omkar_BQ · saved 7 January 2025 · run 10 times · Bitquery API v2

What it returns

Filters

The query

query volume {
  EVM(network: arbitrum, dataset: combined) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"}}, Side: {Currency: {SmartContract: {is: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"}}}, Dex: {ProtocolName: {is: "uniswap_v3"}}}, Block: {Time: {since: "2025-01-06T10:36:59Z"}}}
      orderBy: {descendingByField: "volume"}
    ) {
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
          SmartContract
        }
        Currency {
          Symbol
        }
        Side {
          Currency {
            Symbol
          }
        }
      }
      volume: sum(of: Trade_Amount)
    }
  }
}

Similar queries