Announcing V3-Polars & Dexanalytics.org, Sponsored by the Uniswap Foundation

Allium Partners
Allium Partners
June 13, 2024
Announcing V3-Polars & Dexanalytics.org, Sponsored by the Uniswap Foundation

V3-Polars is Now Powered by DEXAnalytics.org

We are thrilled to announce that v3-polars is now powered by Dexanalytics.org, greatly reducing the friction for researchers and developers interacting with Uniswap data. By integrating with v3-polars, Allium adds more robust and reliable data streams to the existing data stack for comprehensive DeFi analyses.

v3-polars allows researchers and integrators to work with Uniswap v3 data in just a few lines of code. v3-polars also supports data on LPs at arbitrary blocks, fees collected, or simulating swaps for any pool, at arbitrary blocks, and cross-chain. Additionally, read Uniswap v3 re-created in Python for a more readable version of the Solidity code.

Research Challenges of the Past

Before integrating dexanalytics.org, conducting research with v3-polars presented several hurdles:

  • Tedious to Retrieve: Researchers have to navigate multiple data sources and APIs, leading to fragmented and inconsistent datasets
  • Challenging to Parse: Despite having available datasets, parsing and analyzing required substantial efforts and some technical expertise. The complexities of handling raw blockchain data often slows down the research process
  • Non-Replicable: Reproducing results and ensuring the accuracy of research findings was challenging. Inconsistent data sources and methods led to discrepancies and unreliable conclusions

Now a Seamless Research Experience

With DEX Analytics powering v3-polars, researchers can now:

  • Easily Accessible Data: Dexanalytics.org is a unified platform for comprehensive and reliable Uniswap and DEX data right at your fingertips
  • User-Friendly Data Parsing: Simple querying and robust modeling tools simplify parsing and analyses for quicker pulls
  • Replicable Results: Consistency and accuracy are at the core of DEX Analytics. By providing standardized data schemas and methodologies, we ensure that any research is replicable and reliable

Researchers are On-Board

“My layer2 paper is replicable now because of Allium. With v3-polars x Allium integration, all researchers can now easily access the data used for research and replicate it.”

- Austin Adams of Uniswap Labs

How to Get Started:

For researchers interested in trying out v3-polars:

  1. Head to v3-polars and download the repo.
  2. Install Polars with Pip: pip install polars
  3. Get the an individual API Key from Allium App, we will make this self serve in the near future from the Dexanalytics portal in July, contact dexanalytics@allium.so to obtain it.
  4. With the API and query key, set the environmental variables

import os
os.environ['ALLIUM_POLARSV3_QUERY_ID'] = 'abcdefg'
os.environ['ALLIUM_POLARSV3_API_KEY'] = 'deadbeef'

#import library and run your code
from v3 import start

address = '0xc31e54c7a869b9fcbecc14363cf510d1c41fa443'
arb = state.v3Pool(address, 'arbitrum', update = True, update_from='allium', tgt_max_rows=100_000)
swaps = arb.swaps

5. Swaps Data

Ready to Welcome in a New Realm of Possibility?

Join us on this exciting journey and explore the endless possibilities that DEX Analytics offers. Together, we can push the boundaries of what’s possible in the world of decentralized finance.

Ready to dive in? Reach out at dexanalytics@allium.so and we’ll help you get onboarded today.

The DEX Analytics Portal

This integration is made possible through the support of the Uniswap Foundation grant to Allium to provide access to maintained, standardized real-time DEX data. The DEX Analytics Portal addresses the lack of dependable DEX data and disparate standards impeding deeper research, which muddles the assessment of on-chain activities such as trade events and MEV extraction. By developing reliable, unified data standards and facilitating easy access, dexanalytics.org empowers researchers and developers with the tools needed to catalyze research insights and innovation on Uniswap.

Stay Updated with Our Blog

Get the latest blog updates directly to your inbox.

By signing up, you agree to our Terms and Conditions.
Your mail has been sent successfully!
There is error in sending mail! Please try again later.
background image

For Analysts

Accounting & Auditing

Query all balances with USD prices in one line

select date, project, sum(balance)

from ethereum.assets.balances

The quality of tables makes it easy for new SQL users to create complex queries in just a few lines
Matt Maximo, Research Lead at Grayscale
Learn More

Stablecoins

Track every stablecoin transaction across 15 chains in a single query

select token_symbol, sum(usd_volume) from crosschain.stablecoin.transfers group by all;

Learn More

NFTs

A source of truth for NFT trades, supporting all major marketplaces, with washtrading filters.

select block_timestamp, chain, sum(usd_price) from crosschain.nfts.trades group by all

We don’t need an engineer to index each chain and spend time when there are data issues or when we want to add new marketplaces or new columns to our data. It’s all done by Allium with great SLAs!
- Monique, Head of Data Science at MagicEden

Powers Electric Capital's NFTPulse

Learn More

DEXs

Trades from major DEXs and aggregators, liquidity from both DEXes and non-DEX sources

select block_timestamp, chain, count(distinct transaction_from_address) from crosschain.dex.trades group by all

Trusted by the two biggest DEX ecosystems

  • Jupiter DEX
  • Uniswap DEX
Learn More

Wallet360 + Airdrop360

Allium's curated 100+ attributes explore what your users are doing on-chain, and led to protocols saving $300M+ in airdrops through sybil detection over the past year

With the help of machine learning experts from @AlliumLabs, we found several major clusters and will be looking into whether they should be removed from the tiered volume-based allocations
- Jupiter Aggregator
Learn More

Allium AI Assistant

The Allium Assistant can be found within the Allium Explorer platform to generate comprehensive queries to answer research questions asked in simple English

1000+ lines of code reduced to a sentence & one right-click

Spend less time writing lines of code & more time conducting analysis

Learn More

Allium In The Wild

Backed by the Best

...and Industry leaders from