Skip to content

Commit 34095dd

Browse files
authored
Add ton.balances_history table documentation (#678)
1 parent 18539f6 commit 34095dd

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

data-catalog/ton/balances_history.mdx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: ton.balances_history
3+
sidebarTitle: "Balances history"
4+
description: Description of the ton.balances_history table on Dune
5+
---
6+
7+
## Table Description
8+
Contains information about all balances changes for native TON and jettons. This table allows
9+
to get point time balance for each address as well latest balances.
10+
11+
## Column Descriptions
12+
| **Column** | **Type** | **Description** |
13+
|----------------------|---------------|-----------------------------------------------------------------------|
14+
| **block_time** | timestamp | Timestamp of when the block containing the balance change was created |
15+
| **block_date** | date | Date of when the block containing the balance change was created |
16+
| **address** | string | Account raw address |
17+
| **asset** | string | Asset address or __TON__ for TON balance |
18+
| **amount** | decimal(38,0) | Asset balance |
19+
| **mintless_claimed** | boolean | Special flag for mintless jettons that mintless part was claimed |
20+
| **timestamp** | int | Unix timestamp of the transaction |
21+
| **lt** | bigint | Logical time of the transaction |
22+
23+
## Table Sample
24+
25+
import { TableSample } from "/snippets/table-sample.mdx";
26+
27+
<TableSample tableSchema="ton" tableName="balances_history" />

data-catalog/ton/overview.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ TON blockchain data is organized into several key tables that capture different
3131
Inter-contract messages and value transfers between accounts.
3232
</Card>
3333

34+
<Card title="Balances history" icon="book" href="/data-catalog/ton/balances_history">
35+
TON and jettons balances history.
36+
</Card>
37+
3438
<Card title="DEX Pools" icon="water" href="/data-catalog/ton/dex_pools">
3539
Liquidity pool configurations and statistics from decentralized exchanges.
3640
</Card>

mint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2345,6 +2345,7 @@
23452345
"pages": [
23462346
"data-catalog/ton/overview",
23472347
"data-catalog/ton/accounts",
2348+
"data-catalog/ton/balances_history",
23482349
"data-catalog/ton/blocks",
23492350
"data-catalog/ton/transactions",
23502351
"data-catalog/ton/messages",

0 commit comments

Comments
 (0)