TronRequestGetDelegatedResourceV2 class

In Stake2.0, query the detail of resource share delegated from fromAddress to toAddress developers.tron.network.

Inheritance

Constructors

TronRequestGetDelegatedResourceV2.new({required TronAddress fromAddress, required TronAddress toAddress, bool visible = true})

Properties

fromAddress TronAddress
resource from address
final
hashCode int
The hash code for this object.
no setterinherited
method TronHTTPMethods
wallet/getdelegatedresourcev2
no setteroverride
requestType → RequestServiceType
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toAddress TronAddress
resource to address
final
visible bool
Indicates whether the address is visible.
final

Methods

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

Operators

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