Uniswap v3 on Ethereum

Returns DEX trades on Ethereum, where DEX owner address is 0x1f98…f984: block number, block time, buy amount, buy currency name, buy currency symbol, buy price, sell amount and 3 more fields.

By Rizwan Kazi · saved 15 September 2024 · Bitquery API v2

What it returns

Filters

The query

query ethv3 {
  EVM(network: eth, dataset: combined) {
    DEXTrades(
      where: {Trade: {Dex: {OwnerAddress: {is: "0x1f98431c8ad98523631ae4a59f267346ea31f984"}}}}
    ) {
      Block {
        Number
        Time
      }
      Trade {
        Buy {
          Amount
          Currency {
            Name
            Symbol
          }
          Price
        }
        Sell {
          Amount
          Currency {
            Name
            Symbol
          }
          Price
        }
      }
    }
  }
}

Similar queries