Start of the trace
Most often, a trace begins with an external message. It is the first one, since there is no message that could generate an external-in. However, trace may be started not only by external messages but also by tick-tock transactions, commonly used within TON Blockchain system contracts. Traces can also start with split and merge transactions, but since they are not currently implemented, this will not occur in a real network.lt values indicated for every message. It is important to note that in the network in general, lt is formed as follows:
- lt transactions = lt incoming message + 1
- lt outgoing message = lt transaction + outgoing message index
This scheme is not applicable to the first vertex if the trace is started by special transactions mentioned above, as in that case there is no
incoming messagefor the first vertex.
Traces representation in Tonviewer
In Tonviewer, traces are visualized as directed acyclic graphs (DAGs), where transactions are nodes and messages are edges, showing the full sequence of account state changes.Examples
The NFT transfer illustrates a single operation that consists of multiple messages. To learn how to read traces, follow this article. This trace is started with an external message and can be inspected in Tonviewer
Here is the example of the trace that started with tick-tock transaction

Access using API
To fetch traces data, use theGET /traces endpoint. This method allows finding a trace if any of its parameters are known.