Queries
Queries are the heart of Dune's magic ๐ยถ
Queries the primary building blocks Wizards use to pull blockchain data from Dune's database, transform it into something interesting with SQL functions, then and either make visualizations and dashboards to share using dune.com or just about anything imaginable via the Dune API.
Through the โจ of Dune, Queries let Wizards answer any question!
To create a new Query on dune.com, simply click New Query
in the top right corner:
This will take you to the Query Editor where you can build Dune Queries. The Query Editor is made up of three parts:
- The Data Explorer on the left
- The Query Window on the right
- The Query Results at the bottom
You can change the size of each of part by dragging the corresponding Dune logo around:
Let's take a look at each of part of the Query Editor in more detail in the following pages: