TronRequestCreateAccount class

Activate an account. developers.tron.network.

Inheritance

Constructors

TronRequestCreateAccount({required TronAddress ownerAddress, required TronAddress accountAddress, String? type, int? permissionId, bool visible = true})
TronRequestCreateAccount.fromContract(AccountCreateContract contract, {int? permissionId, bool visible = true})
factory

Properties

accountAddress TronAddress
Account address to be activated
final
hashCode int
The hash code for this object.
no setterinherited
method TronHTTPMethods
wallet/createaccount
no setteroverride
ownerAddress TronAddress
Transaction initiator address
final
permissionId int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
Account type. The external account type is 0, and this field will not be displayed in the return value
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