Published in


How to check V2-type pools’ data

In this article, we present and review a simple tool for tracking on-chain events on AMM DEXs called Lenses.

The Graviton core team has been working on various LP farming products for the last three months. Along the way, we have gained a deep understanding of all the intricacies of DEXes’ inner workings. From time to time we came across tools that can help in interacting with DEXes and managing custom pools. Today we’d like to share those findings with our community.

In this article, we’re describing how to collect Uniswap V2-type pools’ data using simple rest APIs in a convenient manner via a so-called Lenses tool.

First, let’s research what Uniswap provides in terms of open data. Uniswap (and its alternatives) is open-source, meaning that anyone can fork it and spin off their own version. As the DeFi sector grows and new forks of Uniswap on various chains appear, more users are becoming interested in getting the latest tokens’ statistics, pools’ data, on-chain events and other info, and such data can be helpful for both a regular user to make decisions and a developer for product integration.

Through explorers’ and trackers’ API, developers can access various blockchain data: Etherscan or its equivalents in other chains provide a broad range of different data points. However, utilizing raw API endpoints may be complicated for a non-technical user, especially if this data needs to be collected and analyzed in dynamics. Libraries and scripts for developers can help with this task but are difficult to use. Moreover, there are advanced commercial-grade applications that allow for in-depth data tracking and that can build impressive analytical charts, but they are not suitable for beginner usage. As an initial source of this kind of data one can use ( but the regular data feed is limited to 25 latest events which are mixed up and impossible to be filtered by type:

As a better alternative, the Graviton team created a simple tool that allows for searching and scanning info on multiple on-chain events (or logs) on a variety of EVM DEXes called Lenses:

How to use Lenses


We believe that Lenses is a convenient and crucial tool for many AMM users. Lenses allow for searching through AMM DEXes pools data. You can find more tips here:

Also, feel free to send over suggestions on the events and filters that should be added.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store