Skip to content

Conversation

@aigerimu
Copy link
Contributor

@aigerimu aigerimu commented Oct 7, 2025

closes #302
closes #928

@aigerimu aigerimu requested review from reveloper and verytactical and removed request for verytactical October 7, 2025 08:43
@github-actions
Copy link

github-actions bot commented Oct 7, 2025

To fix the formatting issues:

  1. Install necessary dependencies: npm ci
  2. Then, run this command:
npx remark -o --silent --silently-ignore ecosystem/rpc/traces.mdx 

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

Thanks for the update to the traces docs under ecosystem/rpc. There’s one high‑severity link issue that needs a small fix before merge.

Findings (1)

High (1)

[HIGH] Broken internal link to non-existent API reference

Location: https://github.com/tact-lang/mintlify-ton-docs/blob/22b18621e1b6e6787f8b15d61f839811e807761c/ecosystem/rpc/traces.mdx?plain=1#L39-L40

Description:
The page links “GET /traces” to /api-reference/actions/get-traces, which does not exist in this repository, resulting in a dead internal anchor. Broken internal links are prohibited by the style guide and are treated as high severity (see https://github.com/tact-lang/mintlify-ton-docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L528-L528 and https://github.com/tact-lang/mintlify-ton-docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L31-L31). The correct traces endpoint defined in‑repo is GET /api/v3/traces (see ecosystem/rpc/ton-center-http-api-v-3.yaml?plain=1#L1511-L1511).

Suggestion:

- To fetch transaction data, use the high-level [`GET /traces`](/api-reference/actions/get-traces) endpoint.
+ To fetch transaction data, use the high-level `GET /traces` endpoint.
- To fetch transaction data, use the high-level [`GET /traces`](/api-reference/actions/get-traces) endpoint.
+ To fetch transaction data, use the high-level `GET /api/v3/traces` endpoint.
- To fetch transaction data, use the high-level [`GET /traces`](/api-reference/actions/get-traces) endpoint.
+ To fetch transaction data, use the high-level Get Traces endpoint in [TON Center API v3](/ecosystem/rpc/ton-center-http-api-v-3).

@verytactical verytactical self-requested a review October 7, 2025 09:52
verytactical
verytactical previously approved these changes Oct 7, 2025
@github-actions
Copy link

github-actions bot commented Oct 7, 2025

To fix the formatting issues:

  1. Install necessary dependencies: npm ci
  2. Then, run this command:
npx remark -o --silent --silently-ignore ecosystem/rpc/traces.mdx 

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

To fix the formatting issues:

  1. Install necessary dependencies: npm ci
  2. Then, run this command:
npx remark -o --silent --silently-ignore ecosystem/rpc/traces.mdx 

Copy link
Collaborator

@verytactical verytactical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Wasn't this article meant to go into Ecosystem > Explorers?
  • Probably m4' and m4'' were meant to be m4 and m4', otherwise it's not consistent with the rest of them
  • After internal discussion it turned out we're not satisfied with how the image looks after all :) The spacing is off, and it doesn't really look professional. Could you please create an issue, so that we can ask designers to make a better one in the future?

@aigerimu
Copy link
Contributor Author

aigerimu commented Oct 7, 2025

  • Wasn't this article meant to go into Ecosystem > Explorers?

This is another article from this issue

  • Probably m4' and m4'' were meant to be m4 and m4', otherwise it's not consistent with the rest of them

Will fix it. Thank you

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

To fix the formatting issues:

  1. Install necessary dependencies: npm ci
  2. Then, run this command:
npx remark -o --silent --silently-ignore ecosystem/rpc/traces.mdx 

@github-actions
Copy link

github-actions bot commented Oct 8, 2025

To fix the formatting issues:

  1. Install necessary dependencies: npm ci
  2. Then, run this command:
npx remark -o --silent --silently-ignore ecosystem/rpc/traces.mdx 

@verytactical verytactical marked this pull request as draft October 10, 2025 15:37
@aigerimu aigerimu marked this pull request as ready for review October 13, 2025 08:19
@github-actions
Copy link

To fix the formatting issues:

  1. Install necessary dependencies: npm ci
  2. Then, run this command:
npx remark -o --silent --silently-ignore ecosystem/rpc/traces.mdx 

@verytactical verytactical marked this pull request as draft October 13, 2025 22:58
@aigerimu aigerimu marked this pull request as ready for review October 27, 2025 14:09
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update—there’s one inline suggestion in ecosystem/rpc/traces.mdx: please apply it.

<Aside
type={"note"}
>
Transactions may be triggered not only by external messages but also by [tick-tock](https://companyname-a7d5b98e.mintlify.app/ton/tblkch#4-2-4-kinds-of-transactions) events, commonly used within internal TON Blockchain contracts, such as governance or elector contracts.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[HIGH] Unofficial external link used instead of internal canonical page

This line links the term “tick-tock” to an unofficial Mintlify preview domain rather than the internal canonical whitepaper anchor. Using non-canonical external links risks link rot and inconsistency with the maintained internal spec. The repository contains a stable internal whitepaper path that should be used instead.

Suggested change
Transactions may be triggered not only by external messages but also by [tick-tock](https://companyname-a7d5b98e.mintlify.app/ton/tblkch#4-2-4-kinds-of-transactions) events, commonly used within internal TON Blockchain contracts, such as governance or elector contracts.
Transactions may be triggered not only by external messages but also by [tick-tock](/foundations/whitepapers/tblkch#4-2-4-kinds-of-transactions) events, commonly used within internal TON Blockchain contracts, such as governance or elector contracts.

Please leave a reaction 👍/👎 to this suggestion to improve future reviews for everyone!

@verytactical
Copy link
Collaborator

/review

@novusnota
Copy link
Collaborator


### Tracing operations

Traces offer **a high-level** view of an operation, illustrating how multiple transactions and messages interact to produce the final result. Within the graph, related transactions are grouped into human-readable actions, _providing developers with both the low-level transaction flow and the corresponding higher-level operations_.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't make sense.

There is no such grouping inside of traces. Trace is merely a tree, generated completely autonomously, with no such feedback from a person possible.

@verytactical verytactical marked this pull request as draft October 29, 2025 17:11
@aigerimu
Copy link
Contributor Author

aigerimu commented Nov 6, 2025

migrated to foundations: #928

@aigerimu aigerimu marked this pull request as ready for review November 6, 2025 06:14
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update—on foundations/traces.mdx: a couple of suggestions to fix an internal anchor and align the API endpoint label; please apply the inline suggestions.


**Example**

The NFT transfer illustrates a single operation that consists of **three transactions**, each triggered by messages. To learn how to read traces, follow [this article](/ecosystem/explorers/tonviewer#steps-to-analyze-an-operation).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[HIGH] Broken internal anchor to Tonviewer section

The in-doc link points to /ecosystem/explorers/tonviewer#steps-to-analyze-an-operation, but the target page’s actual heading is “Steps to read a trace,” which renders as the anchor #steps-to-read-a-trace. This makes the link 404/misdirect, which is release‑blocking. Evidence: ecosystem/explorers/tonviewer.mdx:55-56 shows the heading “### Steps to read a trace” (out-of-diff reference).

Suggested change
The NFT transfer illustrates a single operation that consists of **three transactions**, each triggered by messages. To learn how to read traces, follow [this article](/ecosystem/explorers/tonviewer#steps-to-analyze-an-operation).
The NFT transfer illustrates a single operation that consists of **three transactions**, each triggered by messages. To learn how to read traces, follow [this article](/ecosystem/explorers/tonviewer#steps-to-read-a-trace).

Please leave a reaction 👍/👎 to this suggestion to improve future reviews for everyone!


## Access using API

To fetch transaction data, use the [`GET /traces`](/ecosystem/api/toncenter/v3/actions-and-traces/list-actions-by-filters-tx-msg-trace) endpoint.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[HIGH] API endpoint label/link mismatch misleads readers

The text label says “GET /traces” but links to the Actions reference page, which defines openapi: get /api/v3/actions. The correct Traces reference (matching the label) is list-completed-traces-with-actions.mdx, which defines openapi: get /api/v3/traces. Evidence: ecosystem/api/toncenter/v3/actions-and-traces/list-actions-by-filters-tx-msg-trace.mdx:1-3 (actions) and ecosystem/api/toncenter/v3/actions-and-traces/list-completed-traces-with-actions.mdx:1-3 (traces).

Suggested change
To fetch transaction data, use the [`GET /traces`](/ecosystem/api/toncenter/v3/actions-and-traces/list-actions-by-filters-tx-msg-trace) endpoint.
To fetch transaction data, use the [`GET /traces`](/ecosystem/api/toncenter/v3/actions-and-traces/list-completed-traces-with-actions) endpoint.

Please leave a reaction 👍/👎 to this suggestion to improve future reviews for everyone!

Copy link
Collaborator

@verytactical verytactical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address AI review.

/>
</div>

All messages and transactions in the trace are ordered by their [logical time (lt)](/foundations/whitepapers/tblkch#1-4-1-logical-time), reflecting their logical dependencies. The diagram shows transactions on independent accounts, each triggered by an incoming message, with `lt` values indicated for every message.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're ordered by which messages sent which. Logical time is not used directly to order the trace.


**Example**

The NFT transfer illustrates a single operation that consists of **three transactions**, each triggered by messages. To learn how to read traces, follow [this article](/ecosystem/explorers/tonviewer#steps-to-analyze-an-operation).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why "three transactions" is so important that reader's attention has to be attracted during the skimming of the article text?

@verytactical verytactical marked this pull request as draft November 10, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Ecosystem > RPC > Traces] move from ecosystem to foundations [Ecosystem > API > Trace]

5 participants