HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

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:

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.
Language
Click Try It! to start a request and see the response here!