TONalytica: Quickstart

re:doubt. TVM Data for Everyone
3 min readJul 25, 2023

--

TONalytica is a web-based platform that allows you to query TON blockchain data and aggregate it into beautiful dashboards.

TON is open and transparent, but TVM blockchains are unique — making it difficult to understand, ingest, and aggregate data. TONalytica gives you the proper tools to analyze cross-chain data for different tokens, wallets, and protocols. You can also easily share your work with the community.

Welcome to TONalytica

This guide will help you get started on TONalytica in five minutes. We’ll walk you through how to:

  1. Query blockchain data
  2. Create a visualization
  3. Present your data

TONalytica has many more features, but these are the basics you’ll need to get started. If you’re looking for more advanced guides, check out the documentation.

Prerequisites:
- You’ll need to have a TONalytica account to follow along. If you don’t have one, you can sign up here. Authorisation exclusively via GitHub.
- We also recommend you have a basic understanding of SQL and Blockchain concepts.

1. Query blockchain data

To query for blockchain data on TONalytica you’ll need to:

  1. Create a new query
  2. Write some SQL
  3. Run the query
  4. Name and save the query
- DEX stat: unique users overall and swaps per user
select
platform,
count(distinct swap_user) as unique_users,
1.0 * count(distinct msg_id) / count(distinct swap_user) as swaps_per_user
from
redoubt.dex_swaps
group by
1

Direct link to query here.

2. Create a visualization

To create a visualization you’ll need to:

  1. Create a new visualization
  2. Select the type of visualization you want to create
  3. Choose the data source for the x and y axis
  4. Adjust the visualization settings

In our example below, we’ll create a pie chart to visualize unique users overall across DEXes at a moment in time.

Direct link to pie chart here.

3. Present your data

To present your data you’ll need to:

  1. Create a new dashboard
  2. Add visualization to the dashboard
  3. Adjust the layout of the dashboard
  4. Name and save the dashboard

Direct link to dashboard here.

Recap

Congratulations, you’ve just queried blockchain data, created a visualization, and presented your data on TONalytica!

You can now share your dashboard with the world.

We’ll take care of updating this dashboard whenever somebody looks at it, so you don’t have to worry about keeping it up to date.

TON Buidlers!

Join our community on Telegram or Twitter, to stay up to date with the latest news, announcements, and exciting developments. Connect with like-minded individuals, engage in discussions, and be part of a growing community shaping the safe future of TVM blockchains.

Stay tuned and be among the first to know when we go live!

--

--

re:doubt. TVM Data for Everyone

re:doubt is a powerful tool for TVM blockchain research, complete with all the tools you need to discover, explore, visualize vast amounts of blockchain data