This article will show developers how to build a transaction locally through an example. It is used to build data inside the transaction. If developers have offline-signature, remark transaction and other requirements, you can refer to this article. These data include:


Only supports RPC

# Java

The calling environment of the RPC interface can be obtained through [wallet-cli](🔗)

After executing the above code, you can get the following information:


The information in the `data` and `scripts` fields can be used as remark information ( `data` is displayed in TronScan), and the content can be obtained by converting Hex to String.