trade_count_query_multiple_accounts

Returns the latest 100 DEX trades on Ethereum, where transaction from is 0xf150…567b, 0x2387…Eb4F or 1 more and DEX protocol name is uniswap_v2 or uniswap_v3: block date, count and from.

By Omkar_BQ · saved 14 October 2024 · Bitquery API v2

What it returns

Filters

The query

query TradeCountQuery {
  EVM(network: eth, dataset: archive) {
    DEXTrades(
      limit: {count: 100}
      limitBy: {by: Block_Date}
      where: {Trade: {Dex: {ProtocolName: {in: ["uniswap_v2", "uniswap_v3"]}}}, Transaction: {From: {in: ["0xf150d6ee0056dcc721a2f5a85f3e16e079f2567b","0x2387237fA94374B0a060F87FAe9204B334c0Eb4F","0x3ACb3D4f099afee73a1D0F4cF0a042A89CB7A22c"]}}}
      orderBy: {descendingByField: "Block_Date"}
    ) {
      Block {
        Date
      }
      count
      Transaction{
        From
      }
    }
  }
}

Similar queries