URITokenBuy
The URITokenBuy transaction allows a user to buy a URIToken from the issuer. This transaction is used to transfer ownership of a URIToken from the issuer to the buyer.
[Source]
(Added by the [URIToken amendment][].)
Example
Field | JSON Type | [Internal Type][] | Description |
---|---|---|---|
| String | AccountID | The address of the buyer's account. |
| String | Hash256 | The unique identifier of the URIToken to be bought. |
| Amount | The amount of currency to pay for the URIToken. |
Special Transaction Cost
The URITokenBuy transaction has a standard transaction cost, which is the minimum fee required for any transaction in Xahau.
Error Cases
Besides errors that can occur for all transactions, URITokenBuy transactions can result in the following transaction result codes:
Error Code | Description |
---|---|
| Occurs if the owner of the token is the one claiming the offer. |
| Occurs if the destination account requires a destination tag, but the transaction does not include one. |
| Occurs if the seller does not have the token listed for sale or the token |
| Occurs when the buying currency does not match the offer currency. |
| Occurs when the buy amount is less than the offer amount. |
| Occurs when the buyer doesn't have sufficient funds including the |
Last updated