TronRequestUndelegateResource class

Cancel the delegation of bandwidth or energy resources to other accounts in Stake2.0 developers.tron.network.

Inheritance

Constructors

TronRequestUndelegateResource({required TronAddress ownerAddress, required TronAddress receiverAddress, required BigInt balance, String? resource, int? permissionId, bool visible = true})
TronRequestUndelegateResource.fromContract(UnDelegateResourceContract contract, {int? permissionId})
factory

Properties

balance BigInt
Amount of TRX staked for resources to be delegated, unit is sun
final
hashCode int
The hash code for this object.
no setterinherited
method TronHTTPMethods
wallet/undelegateresource
no setteroverride
ownerAddress TronAddress
Owner address
final
permissionId int?
for multi-signature use
final
receiverAddress TronAddress
Resource receiver address
final
resource String?
Resource type: 'BANDWIDTH' or 'ENERGY'
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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