ExchangeCreate

Creates a trading pair.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
❗️

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:

FieldTypeDescription
owner_addressstringAccount address.
first_token_idstringID of the first token in the DEX trading pair.
first_token_balanceint64Balance of the first token in the DEX trading pair.
second_token_idstringID of the second token in the DEX trading pair.
second_token_balanceint64Balance of the second token in the DEX trading pair.
Body Params
string
required

Transaction initiator address (format: Base58 or Hex). Example: 4100776428620856AE1D71562812B734E356B68551

string
required

ID of the first token in the DEX trading pair. Example: 31303030343837

int32
required

Balance of the first token in the DEX trading pair. Example: 100

string
required

ID of the second token in the DEX trading pair. Example: 31303030303031

int32
required

Balance of the second token in the DEX trading pair. Example: 100

int32

Permission ID used for multi-signature.

boolean

Set to true to format addresses in Base58; set to false for hex format. (Default: false)

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json