UnfreezeBalanceV2Contract class

Unstake some TRX staked in Stake2.0, release the corresponding amount of bandwidth or energy, and voting rights (TP)

Inheritance

Constructors

UnfreezeBalanceV2Contract({required TronAddress ownerAddress, required BigInt unfreezeBalance, ResourceCode? resource})
Create a new UnfreezeBalanceV2Contract instance with specified parameters.
UnfreezeBalanceV2Contract.deserialize(List<int> bytes)
factory
UnfreezeBalanceV2Contract.fromJson(Map<String, dynamic> json)
Create a new UnfreezeBalanceV2Contract instance by parsing a JSON map.
factory

Properties

contractType TransactionContractType
no setteroverride
fieldIds List<int>
List of field IDs corresponding to the values.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
ownerAddress TronAddress
Account address
final
resource ResourceCode?
Resource type
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toHex String
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
typeURL String
no setterinherited
unfreezeBalance BigInt
Unstake amount, unit is sun
final
values List
List of dynamic values to be encoded.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBuffer() List<int>
Converts the protocol buffer data to a byte buffer.
inherited
toJson() Map<String, dynamic>
Convert the UnfreezeBalanceV2Contract object to a JSON representation.
override
toString() String
Convert the UnfreezeBalanceV2Contract object to its string representation.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited