post
https://api.shasta.trongrid.io/wallet/exchangetransaction
Participate in the transaction of exchange pair.
Returns
Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is ExchangeTransactionContract, the fields contained in raw_data.contract[0].parameter.value in the transaction are as follows:
| Field | Type | Description |
|---|---|---|
| owner_address | string | Transaction initiator address. (Format: Base58 or Hex) |
| exchange_id | int64 | ID of the DEX trading pair. |
| token_id | string | ID of the token to sell. |
| quant | int64 | Amount of tokens to sell from a DEX trading pair. |