HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

fromAscii

Helper function that will convert ASCII to HEX

tronWeb.fromUtf8("test")

result = "74657374"
stringString to convert to hex from ASCII.