TronRequestTransferAsset class

Transfer TRC10 token. developers.tron.network.

Inheritance

Constructors

TronRequestTransferAsset({required TronAddress ownerAddress, required TronAddress toAddress, required String? assetName, required BigInt amount, int? permissionId, String? extraData, bool visible = true})
TronRequestTransferAsset.fromJson(TransferAssetContract contract, {bool visible = true, int? permissionId, String? extraData})
factory

Properties

amount BigInt
amount
final
assetName String?
Token id
final
extraData String?
totes on the transaction
final
hashCode int
The hash code for this object.
no setterinherited
method TronHTTPMethods
wallet/transferasset
no setteroverride
ownerAddress TronAddress
Owner address
final
permissionId int?
for multi-signature use
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toAddress TronAddress
receiving address
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