POSTExchangeTransaction
https://tron-mainnet.nodit.io/wallet/exchangetransactionCreate a transaction that swaps tokens on an exchange pair. The price follows the Bancor algorithm, and the transaction fails when the amount received is lower than expected.
Transaction initiator address. (Format: Base58 or Hex)
Unique ID of the exchange pair. Example: 1
ID of the token to sell. Use _ for TRX.
Amount of the token to sell. TRX amounts are in sun.
Minimum amount of the counterpart token to receive. The transaction fails if the actual amount is lower.
Optional. Set to true to format addresses in Base58; set to false for hex format. (Default: false)
Optional. Permission ID used for multi-signature account operations. Defaults to the owner permission (0) if unspecified.
Transaction ID (hash).
The transaction raw_data (contract, ref_block_*, expiration, etc.).
Hex-encoded protobuf of raw_data.
Echoes back the visible value given in the request.