Git Product home page Git Product logo

docs-92's Introduction

description
Welcome to Dune Analytics

Introduction to Dune Analytics

Introduction

Dune Analytics is a powerful tool for blockchain research. Dune gives you all the tools to query, extract, and visualize vast amounts of data from the blockchain. Dune is unlocking the power of public blockchain data by making it accessible to everyone. This documentation will help you answer questions like:

How much volume flows through Uniswap each day?

Which Dex has the highest volume?

How are important Stablecoins behaving today?

Dune Analytics Basics

Dune App

While navigating Dune Analytics, it helps to have a good understanding of queries, visualizations, and dashboards. These are the basic building blocks that act as your portal to the world's blockchain information. As a blockchain analyst, you can create custom queries to fetch data, visualize the results of these queries, and then tell stories with your data using dashboards.

Data available on Dune

Behind the scenes, Dune transforms difficult-to-access data into human-readable tables. Using SQL queries, you can query for exactly the information you need.

Dune has raw blockchain data and decoded blockchain data available. Decoded data is only available if somebody signaled to us before that a contract needs to be decoded. You can signal a decoding request to us via our website.

You can currently query data from Ethereum, Polygon, Binance Smart Chain, Optimism and Gnosis Chain.

Dune picks up events and internal calls from the blockchains we index, we don't have state/storage data.

Queries

Dune aggregates blockchain data into SQL databases that can be easily queried. Queries are used to specify what data from the blockchain should be returned.

Maybe you want to know all the Dex trades that happened today, or the total value of stablecoins minted this year. Whatever the question, the answer likely starts with a Dune query.

Queries return rows and columns of data (same as traditional SQL queries) that can later be visualized and presented.

Screen Shot 2021-04-22 at 9 56 34 AM

There are a few ways that a blockchain analyst (ie. you!) can get started running queries:

  1. Use Dune Analytics abstractions to query commonly used data tables. This is the simplest and most common way to use Dune Analytics. Some popular abstractions include dex.trades, lending.borrow, and stablecoin.transfer (you can find a complete list of abstractions here)
  2. Query the raw ethereum data including blocks, logs, and transactions.
  3. It is also possible to query centralized exchange data. Use prices.usd to quickly return the price of almost any cryptoasset

Visualizations

Data presented in table form (rows and columns) can be difficult to read. Visualizations take the results of a query and present the information in a clear & precise way.

You can use visualizations to begin to tell a story with your data. With Dune visualizations it is easy to transform this:

Screen Shot 2021-04-22 at 10 59 48 AM

Into this:

Screen Shot 2021-04-22 at 11 01 02 AM

The bar chart visualization makes it clear that April 19th had the highest transfer volume, and helps the audience see the trend over time.

Dune offers a variety of visualizations that you can use to visually present data including bar charts, area charts, line charts, pie charts, and more.

Dashboards

Using carefully planned visuals, a clever blockchain analyst can tell a story about a particular group of data. For example, in the below dashboard it is clear at the top that 'Dex' as a category is growing. Below, the audience sees which dex's are the most popular by volume, and finally can view a stacked bar chart that shows changes over time. By just looking at this single dashboard, the audience sees a clear picture of the entire DEX market.

Screen Shot 2021-04-23 at 10 51 25 AM

Dune is a collaborative effort

On Dune, all queries and datasets are public by default.

This introduces an interesting dynamic in which you, the user, can fork and remix the queries of other creators with ease and build on top of their knowledge. On the other side, every time you write a new query, you contribute to the collection of queries that help people query for data on dune. That way, the Dune Community succeeds together through an ever improving range of queries that allow you to easily query for just the stats you need.

If you do need Privacy for your Queries, the pro Plan has got you covered.

Join our Community Discord to get world class support from our team and the community.

If you have any feedback, whether feature requests or bug reports, you can submit it here.

docs-92's People

Contributors

0xboxer avatar bernatfp avatar hagaetc avatar mewwts avatar soispoke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.