-
Bitcoin
$118,209.3536
1.16% -
Ethereum
$3,151.7546
5.98% -
XRP
$2.9277
2.35% -
Tether USDt
$1.0000
0.00% -
BNB
$689.7099
1.26% -
Solana
$163.4270
1.91% -
USDC
$1.0000
0.02% -
Dogecoin
$0.1983
3.74% -
TRON
$0.3008
0.51% -
Cardano
$0.7435
2.86% -
Hyperliquid
$47.6547
-0.48% -
Stellar
$0.4625
2.79% -
Sui
$3.9921
2.71% -
Chainlink
$16.0608
4.23% -
Hedera
$0.2348
1.56% -
Bitcoin Cash
$496.6985
1.25% -
Avalanche
$21.9038
5.41% -
UNUS SED LEO
$8.8356
-1.88% -
Shiba Inu
$0.0...01364
5.31% -
Toncoin
$3.1102
4.35% -
Litecoin
$95.9756
3.59% -
Polkadot
$4.0925
5.78% -
Monero
$333.7622
-1.44% -
Uniswap
$9.1968
2.25% -
Bitget Token
$4.6378
6.23% -
Pepe
$0.0...01282
6.77% -
Dai
$1.0002
0.03% -
Ethena USDe
$1.0005
0.00% -
Aave
$329.9143
4.49% -
Bittensor
$441.4995
6.89%
How to use Dune Analytics
Dune Analytics enables users to query, visualize, and share blockchain data across networks like Ethereum and Polygon using SQL.
Jul 16, 2025 at 02:36 am

Introduction to Dune Analytics
Dune Analytics is a powerful blockchain data analysis platform that allows users to query, visualize, and share insights from on-chain data. It supports various blockchains such as Ethereum, Polygon, Optimism, and more. If you're looking to dive into blockchain analytics, Dune Analytics provides the tools necessary to extract meaningful data through SQL queries and dashboards.
This guide will walk you through how to use Dune Analytics effectively, covering everything from setting up your account to creating custom dashboards and sharing insights with the community.
Setting Up Your Dune Analytics Account
Before you can start querying blockchain data, you need to create an account on Dune Analytics. The process is straightforward:
- Visit https://duneanalytics.com and click on the Sign In button.
- You can sign in using your GitHub or Google account.
- Once logged in, you’ll be redirected to your dashboard where you can start exploring existing dashboards or create your own queries.
After signing in, it’s a good idea to familiarize yourself with the interface. On the homepage, you’ll find trending dashboards, popular queries, and new datasets added by the community.
Understanding the Query Editor
The heart of Dune Analytics lies in its SQL-based query editor. To access it:
- Click on the New Query button located on the top right of your dashboard.
- Select the blockchain you want to query (e.g., Ethereum, Polygon, etc.).
- A blank query window will open with access to available tables for that chain.
Each blockchain has multiple pre-indexed datasets that you can query. For example, on Ethereum, you can access tables like ethereum.transactions
, ethereum.logs
, and smart contract events from major protocols like Uniswap, Aave, and Compound.
To run a basic query:
- Type:
SELECT * FROM ethereum.transactions LIMIT 10
- Click the Run Query button.
- Wait for the results to load — this may take a few seconds depending on the complexity.
You can also explore pre-written queries shared by other users by clicking on the Explore tab at the top of the page.
Creating Custom Dashboards
Once you’ve written one or more queries, you can combine them into a custom dashboard to present data visually:
- After running a query, click on the Save button and give your query a name.
- Go to the Dashboards section and click New Dashboard.
- Add your saved queries to the dashboard by clicking the Add Panel button.
- You can customize each panel by selecting visualization types like bar charts, line graphs, or tables.
For instance, if you’re tracking NFT sales on OpenSea, you could display a line chart showing daily sales volume alongside a table listing recent high-value transactions.
When building dashboards, make sure each panel serves a clear purpose and contributes to telling a coherent story about the data you’re analyzing.
Sharing Queries and Dashboards
One of the most valuable features of Dune Analytics is the ability to share your work with others:
- After saving a query or dashboard, click the Share button.
- Copy the link and distribute it via Twitter, Discord, or any other platform.
- Anyone with the link can view and fork your query to build upon it.
If you’d like to keep your work private initially:
- Toggle the Private switch when saving your query or dashboard.
- Only people with the direct link will be able to view it unless you change the visibility settings later.
Community contributions are encouraged, and many analysts gain recognition by publishing insightful dashboards that track trends like token emissions, protocol usage, or on-chain governance activity.
Advanced Features and Tips
As you become more comfortable with Dune Analytics, you can leverage advanced features to enhance your analysis:
- Use Common Table Expressions (CTEs) to organize complex queries.
- Join multiple tables across different contracts to correlate data.
- Utilize macros and variables to make reusable components.
For example, to analyze gas usage over time, you might write a query like:
WITH gas_data AS (SELECT
date_trunc('day', block_time) AS day,
AVG(gas_used) AS avg_gas_used
FROM ethereum.transactions
GROUP BY day
)
SELECT * FROM gas_data ORDER BY day DESC LIMIT 30;
This query calculates the average gas used per day over the last 30 days on Ethereum. Running such queries helps identify patterns in network congestion and transaction costs.
Additionally, Dune supports Jupyter Notebook integration for those who prefer Python-based analysis. This opens up even more possibilities for statistical modeling and machine learning applications on blockchain data.
Frequently Asked Questions
Q: Can I use Dune Analytics without knowing SQL?
A: While it's possible to explore existing dashboards and visualizations without writing SQL, full functionality requires knowledge of SQL to craft custom queries and derive unique insights.
Q: Are all datasets on Dune Analytics free to access?
A: Yes, Dune Analytics offers free access to a wide range of indexed blockchain datasets. However, heavy usage or commercial deployment may require contacting their team for enterprise solutions.
Q: How often is the data updated on Dune Analytics?
A: Data is generally updated in near real-time. Most chains have blocks indexed within minutes, ensuring that your queries reflect the latest on-chain activity.
Q: Is there a way to automate query execution on Dune Analytics?
A: Currently, Dune does not offer native automation features like scheduled query runs, but users can manually re-run queries or set up external scripts to fetch results periodically via the API.
Disclaimer:info@kdj.com
The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!
If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.
- Eclipse Airdrop and Token Supply: Navigating the Crypto Landscape
- 2025-07-16 18:50:13
- Solana Price, Zebec Network, and Remittix: Decoding the Crypto Signals
- 2025-07-16 18:30:13
- Crypto Picks & Altcoin Breakout: August's Hottest Trends
- 2025-07-16 18:30:13
- XLM Stellar Analyst Prediction: Is a $10 Target on the Horizon?
- 2025-07-16 19:10:12
- Dubai, Ripple, and Tokenization: A New Era for Real Estate
- 2025-07-16 18:50:13
- Unilabs Finance (UNIL): Primed for a Massive 2025 Launch?
- 2025-07-16 19:15:12
Related knowledge

What is the Bitcoin dominance index
Jul 12,2025 at 10:35pm
Understanding the Bitcoin Dominance IndexThe Bitcoin Dominance Index, often abbreviated as BTC.D, is a metric used to measure Bitcoin's market capital...

What is the Bitcoin dominance index
Jul 11,2025 at 04:29am
What is the Bitcoin Dominance Index?The Bitcoin Dominance Index is a metric used to gauge Bitcoin's market capitalization relative to the total market...

Can crypto be a hedge against inflation
Jul 14,2025 at 12:21am
Understanding the Concept of Hedging Against InflationInflation refers to the general increase in prices and fall in the purchasing value of money ove...

Can crypto be a hedge against inflation
Jul 12,2025 at 12:07pm
Understanding the Role of Blockchain in Decentralized Finance (DeFi)Blockchain technology serves as the backbone of decentralized finance, offering a ...

What are account abstraction wallets
Jul 13,2025 at 01:43am
Understanding the Concept of Account AbstractionAccount abstraction is a term frequently used in the Ethereum ecosystem, particularly within discussio...

What does "gas limit" vs "gas price" mean
Jul 13,2025 at 04:00am
Understanding the Basics of Gas in Blockchain TransactionsIn the Ethereum and other EVM-compatible blockchains, every transaction requires computation...

What is the Bitcoin dominance index
Jul 12,2025 at 10:35pm
Understanding the Bitcoin Dominance IndexThe Bitcoin Dominance Index, often abbreviated as BTC.D, is a metric used to measure Bitcoin's market capital...

What is the Bitcoin dominance index
Jul 11,2025 at 04:29am
What is the Bitcoin Dominance Index?The Bitcoin Dominance Index is a metric used to gauge Bitcoin's market capitalization relative to the total market...

Can crypto be a hedge against inflation
Jul 14,2025 at 12:21am
Understanding the Concept of Hedging Against InflationInflation refers to the general increase in prices and fall in the purchasing value of money ove...

Can crypto be a hedge against inflation
Jul 12,2025 at 12:07pm
Understanding the Role of Blockchain in Decentralized Finance (DeFi)Blockchain technology serves as the backbone of decentralized finance, offering a ...

What are account abstraction wallets
Jul 13,2025 at 01:43am
Understanding the Concept of Account AbstractionAccount abstraction is a term frequently used in the Ethereum ecosystem, particularly within discussio...

What does "gas limit" vs "gas price" mean
Jul 13,2025 at 04:00am
Understanding the Basics of Gas in Blockchain TransactionsIn the Ethereum and other EVM-compatible blockchains, every transaction requires computation...
See all articles
