Skip to content

TON blockchain config parameters

Every TON config parameter (ConfigParam) as the network stores it right now: validators and stakes, gas and storage prices, block limits, consensus and bridges. Decoded where the schema is known, with the raw cell beside it.

As of masterchain block 104,633,804

Network

9
#7, link to this parameter

Currencies to mint

  1. Amount
    666,666,666,666
    Currency id
    239
  2. Amount
    1,000,000,000,000
    Currency id
    -17
#31, link to this parameter

Fundamental smart contracts

#44, link to this parameter

Suspended addresses

Addresses
Count
180
Until
1,803,189,600
#45, link to this parameter

Precompiled contracts

  1. Code hash
    89468f02c78e570802e39979c8516fc38df07ea76a48357e0536f2ba7b3ee37b
    Gas usage
    1,000

Validators

7
#17, link to this parameter

Stake limits

Max stake
10,000,000,000,000,000
Max stake factor
4.5
Min stake
300,000,000,000,000
Min total stake
75,000,000,000,000,000
#32, link to this parameter

Previous validator set

Main
100
Total
364
Total weight
1,152,921,504,606,846,797
Utime since
1,794,264,840
Utime until
1,794,330,376
#34, link to this parameter

Current validator set

Main
100
Total
359
Total weight
1,152,921,504,606,846,798
Utime since
1,794,330,376
Utime until
1,794,395,912

Fees

5
#18, link to this parameter

Storage prices

  1. Bit price ps
    1
    Cell price ps
    500
    Mc bit price ps
    1,000
    Mc cell price ps
    500,000
    Utime since
    0
  2. Bit price ps
    0
    Cell price ps
    135
    Mc bit price ps
    1,000
    Mc cell price ps
    500,000
    Utime since
    1,777,500,000
#20, link to this parameter

Masterchain gas prices

Block gas limit
2,500,000
Delete due limit
1,000,000,000
Flat gas limit
100
Flat gas price
1,000,000
Freeze due limit
100,000,000
Gas credit
10,000
Gas limit
1,000,000
Gas price
655,360,000
Special gas limit
70,000,000
#21, link to this parameter

Basechain gas prices

Block gas limit
10,000,000
Delete due limit
1,000,000,000
Flat gas limit
100
Flat gas price
6,667
Freeze due limit
100,000,000
Gas credit
10,000
Gas limit
1,000,000
Gas price
4,369,067
Special gas limit
1,000,000
#24, link to this parameter

Masterchain message prices

Bit price
655,360,000
Cell price
65,536,000,000
First frac
21,845
Ihr price factor
98,304
Lump price
10,000,000
Next frac
21,845
#25, link to this parameter

Basechain message prices

Bit price
4,369,067
Cell price
436,906,667
First frac
21,845
Ihr price factor
98,304
Lump price
66,667
Next frac
21,845

Limits

3
#22, link to this parameter

Masterchain block limits

Bytes
Hard limit
1,048,576
Soft limit
524,288
Underload
131,072
Gas
Hard limit
2,500,000
Soft limit
1,000,000
Underload
200,000
Lt delta
Hard limit
10,000
Soft limit
5,000
Underload
1,000
#23, link to this parameter

Basechain block limits

Bytes
Hard limit
2,097,152
Soft limit
1,048,576
Underload
262,144
Gas
Hard limit
20,000,000
Soft limit
10,000,000
Underload
2,000,000
Lt delta
Hard limit
10,000
Soft limit
5,000
Underload
1,000
#43, link to this parameter

Size limits

Acc state cells for storage dict
26
Defer out queue size limit
256
Max acc fixed prefix length
8
Max acc public libraries
256
Max acc state cells
65,536
Max ext msg depth
512
Max ext msg size
65,535
Max library cells
200
Max mc acc state cells
2,048
Max msg bits
2,097,152
Max msg cells
8,192
Max msg extra currencies
0
Max transaction library loads
3
Max vm data depth
512

Consensus

3
#28, link to this parameter

Catchain config

Mc catchain lifetime
250
Shard catchain lifetime
250
Shard validators lifetime
1,000
Shard validators num
23
Shuffle mc validators
Yes
#29, link to this parameter

Consensus config

Attempt duration
8
Catchain max blocks coeff
10,000
Catchain max deps
4
Consensus timeout ms
16,000
Fast attempts
3
Max block bytes
4,194,304
Max collated bytes
10,485,760
New catchain ids
Yes
Next candidate delay ms
2,000
Proto version
5
Round candidates
3
Use quic
No
#30, link to this parameter

New consensus config

Masterchain
Noncritical params
0
400
1
700
13
300
Protocol version
2
Slots per leader window
4
Use quic
Yes
Shards
Noncritical params
0
400
1
700
10
64
13
300
Protocol version
2
Slots per leader window
16
Use quic
Yes

Workchains

2
#11, link to this parameter

Config voting setup

Critical
Bit price
2
Cell price
1,000
Max losses
5
Max store sec
20,000,000
Max tot rounds
7
Min store sec
5,000,000
Min tot rounds
4
Min wins
3
Normal
Bit price
1
Cell price
500
Max losses
5
Max store sec
10,000,000
Max tot rounds
6
Min store sec
1,000,000
Min tot rounds
2
Min wins
2
#12, link to this parameter

Workchains

  1. Accept msgs
    Yes
    Active
    Yes
    Actual min split
    0
    Basic
    Yes
    Enabled since
    1,573,821,854
    Max split
    2
    Min split
    0
    Version
    0
    Workchain
    0
    Zerostate file hash
    ee0bedfe4b32761fb35e9e1d8818ea720cad1a0e7b4d2ed673c488e72e910342
    Zerostate root hash
    55b13f6d0e1d0c34c9c2160f6f918e92d82bf9ddcf8de2e4c94a3fdf39d15446

Version

3
#8, link to this parameter

Network version

Capabilities
  • create_stats_enabled
  • bounce_msg_body
  • report_version
  • short_dequeue
  • store_out_msg_queue_size
  • msg_metadata
  • defer_messages
  • full_collated_data
Capabilities mask
1,006
Version
17

Bridges

3

Other

7

TON config: questions and answers

A set of numbered parameters (ConfigParam 0, 1, 2…) stored in the masterchain. They set how the network runs: the addresses of system contracts, validator elections and stakes, gas and storage prices, block limits, consensus settings and bridges. Every node reads the same config from the latest masterchain block.

Validators. A proposal to change a parameter goes to the config contract, whose address is ConfigParam 0, and takes effect only after it wins the validators’ vote in several rounds. The voting rules themselves are in ConfigParam 11.

In ConfigParam 20 for the masterchain and ConfigParam 21 for the basechain. Storage prices are in ConfigParam 18, message forwarding prices in ConfigParams 24 and 25. Flat amounts, such as the flat gas price and the lump price, are in nanotons: 1 GRAM is 1,000,000,000 nanotons. The per-unit prices (gas price, bit price, cell price and the storage prices per second) are shown as the network stores them: in nanotons multiplied by 65,536.

ConfigParam 15 sets the election timing, 16 the number of validators and 17 the minimum and maximum stake. ConfigParams 32 and 34 hold the previous and the current validator set, and 36 the next one once it is elected.

DYOR reads the config from the network every few minutes; the masterchain block it was read at is shown at the top of the page. The raw cell is the parameter exactly as the network stores it, including the ones no schema decodes.

We use cookies for analytics, ad measurement and your settings. Change your choice in the footer.