Skip to content

Conversation

@roseshahar
Copy link

@roseshahar roseshahar commented Jan 16, 2026

Discussion: #816

Summary

This proposal adds input (call data) and output (return data) fields to InternalTransactions in the TRON protocol.

The Problem

TRON currently does not persist these specific fields in its database. As a result, indexers and explorers cannot fetch critical information regarding internal actions, such as:

  • Function call parameters within contract-to-contract interactions.
  • Deployment data for contracts created via factory patterns (internal CREATE/CREATE2).

The Solution

By capturing and storing these fields, TRON will provide complete execution traces (similar to EVM standards). This will:

  • Improve Transparency: Provide full visibility into nested contract execution.
  • Enable Better Indexing: Allow tools to accurately track internal state changes and factory deployments.
  • Enhance Developer Experience: Simplify debugging by exposing return values from internal calls.

Reference Implementation

The code changes for java-tron are available here:
tronprotocol/java-tron#6511

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.

1 participant