trade_count_query

Returns the latest 100 DEX trades on Ethereum, where transaction from is 0xf150…567b, DEX protocol name is uniswap_v2 or uniswap_v3 and block date since 2024-01-11: block date and count.

By Omkar_BQ · saved 25 September 2024 · run 18 times · Bitquery API v2

What it returns

Filters

The query

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

Similar queries