HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

ExchangeTransaction

Participate the transaction of exchange pair

Log in to see full request history

Return: Transaction object

Body Params
string

Trader's wallet address, in hex string format. This wallet contains the tokens you wish to sell, in order to gain the other token.

int32

This parameter refers to the DEX trading pair. To see TRX DEXs, you can go to https://trxinfo.org/#/exchanges/exchangesList, or query via API calls.

string

ID of the sold token, in hexString format. For example, if you wanted to trade TRX for another token, then the TRX id of "5f" goes in this parameter.

int32

Quantity of the token being sold. If TRX being sold, need to express in units of SUN.

int32

Expected quantity of the token being purchased.

int32

Optional,for multi-signature use

boolean

Optional,whether the address is in base58 format

Responses

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