APIs for constructing, signing assistance, and broadcasting TRON transactions.
Common tasks
| Goal | Recommended path |
|---|---|
| Send and confirm TRX | CreateTransaction → local signing → BroadcastTransaction → /walletsolidity/gettransactionbyid; see Send your first transaction, with the lower-level steps in Sign and broadcast |
| Confirm inclusion in the solidified chain | Query the transaction body through /walletsolidity/gettransactionbyid; do not rely on the broadcast response alone |
| Check the final smart-contract execution result | GetTransactionInfoById (solidified state); see Confirmation semantics |
APIs in this group
| API | Purpose |
|---|---|
| CreateTransaction | Construct an unsigned TRX transfer transaction. |
| BroadcastTransaction | Broadcast a signed transaction in JSON form. |
| BroadcastHex | Broadcast a signed transaction as a hex string. |
Related resources
- Sign and broadcast — the API workflow — end-to-end signing and broadcast workflow
- Transaction protocol —
raw_data, TAPOS, and expiration - Accounts — account activation and address derivation