TONboard

Transaction types in the TON blockchain

2 min readupdated 2026-06-06✏️ Suggest an edit🕑 History
On this page (11)

Transaction in TON a process that includes:

  1. Sending The incoming message to activate the smart contract;
  2. Performing actions inside the contract;
  3. The Generation I 'm going to get you a message . to the other participants.

Common components of the transaction#

  • The account to which the transaction belongs;
  • Logical time the transaction;
  • 0 or 1 the incoming message;
  • N of outgoing messages;
  • The initial and final condition of the account (including balance);
  • The total amount of validator fees;
  • Detailed description (type + intermediate steps).

Logical time

  • Accurate sequencing of events in Asynchronous system of smart contracts;
  • Each outgoing message gets its own timestamp;
  • Strictly Growing for one contract message;
  • Validators are used for sorting and processing.

Transaction types#

The typeAppointment
The usualThey process incoming messages, change the state, generate outgoing messages.
StoragePayment collection for keeping the account (no code is called)
TickAt the beginning of each block .Masterchain
TockAt the end of the block .Masterchain
Split the data .The account is split into ξ and ξ' (sharding)
MergeHow to combine accounts (optimize)

Ordinary transaction phases#

  1. Storage phase collecting fees for storage;
  2. The phase of lending (credit) the account receives the sum of the incoming message;
  3. Calculating phase (compute) the contract code is called in TVM, ends with an exit-code + new data + a list of actions;
  4. The phase of action performing actions from the list;
  5. Bounce phase if interrupted and set Bounce flag → message is returned to sender.

Features of#

Transactions to store

  • Validators insert them when:
    • The account hasn 't been used in a while .
    • Balance is insufficient to pay for storage;
  • If the balance falls below the minimum → The account is being frozen ., the code and data are replaced with a hash.

Tick + Tock

  • Reserved for special system smart-contracts;
  • Automatically called in every block.

The division

  1. This is a split-preparation transaction . (as tock) for ξ the last in the shardchain block;
  2. Set up the partition transaction for ξ' with reference to training.

The Association

  1. Transaction of preparation of the association for ξ' → conversion of state and balance to message-constructor;
  2. Transaction to set up the association For ξ, it handles the message.

Other sources#

Similar articles#

ℹ️ Information verified: 2024

Prepared by

TONboard

Support the project with a TON tip.

Comments

Posting a comment costs a small on-chain fee that keeps spam out.
  • No comments yet — be the first.