URITokenCreateSellOffer
An URITokenCreateSellOffer transaction allows a user to create a sell offer for a URIToken on Xahau's decentralized exchange.
[Source]
(Added by the [URIToken amendment][].)
Example
Fields
Account
String
AccountID
The address of the account creating the sell offer.
URITokenID
String
Hash256
The ID of the URIToken being sold.
Destination
String
AccountID
(Optional) The address of the account to receive the sell offer.
Amount
Amount
The amount of currency the account wants to receive in exchange for the URIToken.
Error Cases
Besides errors that can occur for all transactions, URITokenCreateSellOffer transactions can result in the following transaction result codes:
tecNO_TARGET
Occurs if the target account does not exist.
tecNO_PERMISSION
Occurs if the account does not have permission to create a sell offer.
tecINSUF_RESERVE_LINE
Occurs if the account does not have a sufficient reserve to create a sell offer.
tecINSUF_RESERVE_OFFER
Occurs if the account does not have a sufficient reserve to create a sell offer.
tecUNFUNDED_OFFER
Occurs if the account does not have a sufficient balance to create a sell offer.
tecOFFER_INVALID
Occurs if the sell offer is invalid.
Last updated