post https://api.shasta.trongrid.io/wallet/exchangecreate
Creates a trading pair.
Warning!
Successful execution, signing, and broadcast of this API call will deduct 1024 TRX from the user's account.
Returns
Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is ExchangeCreateContract
, the fields contained in raw_data.contract[0].parameter.value
in the transaction are as follows:
Field | Type | Description |
---|---|---|
owner_address | string | Account address |
first_token_id | string | First token id |
first_token_balance | int64 | First token balance |
second_token_id | string | Second token id |
second_token_balance | int64 | Second token balance |