Body Parameters
- owner_addressstringREQUIRED
The Trader wallet address, in hex string format
- exchange_idstringREQUIRED
The Transaction Pair ID
- token_idintegerREQUIRED
The ID of the sold token, in hexString format
- permission_idinteger
The ID of the permission that is required to execute the transaction
- visibleboolean
A boolean value indicating whether the address is in base58 format
- quantintegerREQUIRED
The quantity of the token being sold. If TRX being sold, need to express in units of SUN
- expectedstringREQUIRED
The expected amount of tokens to be received in exchange
Returns
- visible
A boolean value indicating whether the transaction was successful
- txid
The transaction id
- raw_data
An object that contains the transaction details with the following fields:
- contract
An array of objects containing information about the delegate resource contract
- parameter
An object containing the delegate resource contract parameters
- value
An object containing the values of the delegate resource contract parameters
- amount
The amount of the token being injected in the exchange
- expected
The expected amount of the token to receive in exchange
- exchange_id
The ID of the exchange pair
- owner_address
The owner address of the exchange pair
- token_id
The ID of the token being exchanged
- type_url
The URL of the freeze balance contract type
- type
The type of the freeze balance contract
- ref_block_bytes
The ref block bytes of the transaction
- ref_block_hash
The ref block hash of the transaction
- expiration
This is a timestamp indicating the expiration time of the transaction in milliseconds
- timestamp
This is a timestamp indicating the time at which the transaction was created in milliseconds
- raw_data_hex
The hexadecimal representation of the raw data in the transactio
- signature
An array containing the signature of the transaction