# CallTrace Tree

CallTrace Tree is a tool for understanding the behavior of smart contracts and the flow of execution within Tx. It represents the sequence of function calls and their respective outputs, and helps users better understand the Tx on smart contract level.&#x20;

<figure><img src="https://305101770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZin41wR3kooKl0qQwq5%2Fuploads%2FV76D19A4wSKris29VQ7R%2Fimage.png?alt=media&#x26;token=d66b8f43-87b2-42d2-9e34-6f0ddeaeb7d1" alt=""><figcaption><p>CallTrace Tree</p></figcaption></figure>



Under CallTrace Tree, we further divide the Tx into two categories: "Nodes with transfer" and "All Nodes"

For "Nodes with transfer", only actions that involve token transfer will be recorded. As users click through each step, the corresponding token flow chart will show on the right.&#x20;

<figure><img src="https://305101770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZin41wR3kooKl0qQwq5%2Fuploads%2Feq7ZYQh6MQFK1lt7Nxvf%2Fnode%20transfer.gif?alt=media&#x26;token=7de021a9-309b-4027-b421-3dca0276dd97" alt=""><figcaption><p>"Nodes with transfer"</p></figcaption></figure>

"All Nodes" records every step in the Tx. Therefore, the token flow chart can go blank as some steps within the Tx do not involve token transfer.&#x20;

<figure><img src="https://305101770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZin41wR3kooKl0qQwq5%2Fuploads%2FXPFRvmYBfqK2M7mEuqAI%2Fall%20nodes.gif?alt=media&#x26;token=4bac48aa-6477-4d88-a643-f1984be6c954" alt=""><figcaption><p>"All Nodes"</p></figcaption></figure>

