TronRequestExchangeTransaction class

Participate the transaction of exchange pair developers.tron.network.

Inheritance

Constructors

TronRequestExchangeTransaction.new({required TronAddress ownerAddress, required int exchangeId, required String tokenId, required int quant, required int expected, int? permissionId, bool visible = true})

Properties

exchangeId int
Transaction Pair ID
final
expected int
Expected quantity of the token being purchase
final
hashCode int
The hash code for this object.
no setterinherited
method TronHTTPMethods
wallet/exchangetransaction
no setteroverride
ownerAddress TronAddress
Trader's wallet address
final
permissionId int?
for multi-signature use
final
quant int
Quantity of the token being sold
final
requestType → RequestServiceType
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenId String
ID of the sold token
final
visible bool
Indicates whether the address is visible.
final

Methods

buildRequest(int requestID) TronRequestDetails
Converts the request parameters to TronRequestDetails with a unique identifier.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) Map<String, dynamic>
inherited
toJson() Map<String, dynamic>
Converts the request parameters to a JSON format.
override
toString() String
A string representation of this object.
override

Operators

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