TransferAssetContract class

Transfer TRC10 token.

Inheritance

Constructors

TransferAssetContract({required List<int> assetName, required TronAddress ownerAddress, required TronAddress toAddress, required BigInt amount})
Create a new TransferAssetContract instance with specified parameters.
TransferAssetContract.deserialize(List<int> bytes)
factory
TransferAssetContract.fromJson(Map<String, dynamic> json)
Create a new TransferAssetContract instance by parsing a JSON map.
factory

Properties

amount BigInt
amount
final
assetName List<int>
Token id
final
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
Owner address
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toAddress TronAddress
receiving address
final
toHex String
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
typeURL String
no setterinherited
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 TransferAssetContract object to a JSON representation.
override
toString() String
Convert the TransferAssetContract object to its string representation.
override

Operators

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