TronRequestUnfreezeBalanceV2 class

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

Inheritance

Constructors

TronRequestUnfreezeBalanceV2({required TronAddress ownerAddress, required BigInt unfreezeBalance, required String? resource, int? permissionId, bool visible = true})
TronRequestUnfreezeBalanceV2.fromContract(UnfreezeBalanceV2Contract contract, {int? permissionId})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
method TronHTTPMethods
wallet/unfreezebalancev2
no setteroverride
ownerAddress TronAddress
Owner address,
final
permissionId int?
for multi-signature use
final
resource String?
Resource type: 'BANDWIDTH' or 'ENERGY'
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unfreezeBalance BigInt
The amount of TRX to unstake, in sun
final
visible bool
Indicates whether the address is visible.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) ParsedContractRequest
Converts the response result to the specified type RESULT.
override
toJson() Map<String, dynamic>
Converts the request parameters to a JSON format.
override
toRequest(int _) TronRequestDetails
Converts the request parameters to TronRequestDetails with a unique identifier.
inherited
toString() String
A string representation of this object.
override

Operators

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