TronRequestExchangeCreate class
Creates a trading pair. developers.tron.network.
Constructors
- TronRequestExchangeCreate({required TronAddress ownerAddress, required String firstTokenId, required int firstTokenBalance, required String secondTokenId, required int secondTokenBalance, int? permissionId, bool visible = true})
Properties
- firstTokenBalance → int
-
The first token's balance
final
- firstTokenId → String
-
The first token's id
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → TronHTTPMethods
-
wallet/exchangecreate
no setteroverride
- ownerAddress → TronAddress
-
final
- permissionId → int?
-
for multi-signature use
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondTokenBalance → int
-
The second token's balance
final
- secondTokenId → String
-
The second token's id
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) → Map<String, dynamic> -
Converts the response result to the specified type
RESULT
.inherited -
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