HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

fromUtf8

Helper function that will convert UTF8 to HEX

Usage

tronWeb.fromUtf8()

Parameter
String

Return
String

Example

tronWeb.fromUtf8("test")
>"0x74657374"