TronRequestExchangeInject class
Injects capital into the transaction. The purpose of injecting capital into the trading pair is to prevent price fluctuation from affecting the transaction. developers.tron.network.
Constructors
- TronRequestExchangeInject({required TronAddress ownerAddress, required int exchangeId, required String tokenId, required int quant, int? permissionId, bool visible = true})
Properties
- exchangeId → int
-
Transaction Pair ID
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → TronHTTPMethods
-
wallet/exchangeinject
no setteroverride
- ownerAddress → TronAddress
-
Transaction to the creator's address
final
- permissionId → int?
-
for multi-signature use
final
- quant → int
-
Number of capital injection tokens.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenId → String
-
Token ID; usually is the token name
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