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
Field | JSON Type | [Internal Type][] | Description |
---|---|---|---|
| String | AccountID | The address of the account creating the sell offer. |
| String | Hash256 | The ID of the URIToken being sold. |
| String | AccountID | (Optional) The address of the account to receive the sell offer. |
| 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:
Error Code | Description |
---|---|
| Occurs if the target account does not exist. |
| Occurs if the account does not have permission to create a sell offer. |
| Occurs if the account does not have a sufficient reserve to create a sell offer. |
| Occurs if the account does not have a sufficient reserve to create a sell offer. |
| Occurs if the account does not have a sufficient balance to create a sell offer. |
| Occurs if the sell offer is invalid. |
Last updated