TronHelper class
Utility class providing helper methods for Tron-related operations.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decodePermissionOperation(
String operations) → List< TransactionContractType> - Decodes permission operations from a hex representation.
-
encodePermissionOperations(
List< TransactionContractType> values) → List<int> - Encodes permission operations into a bytes representation.
-
fromSun(
BigInt amount) → String - Converts a bigint sun to trx with decimal.
-
toSun(
String amount) → BigInt - Converts a string amount to SUN (smallest unit in Tron).