URITokenMint
An URIToken Mint transaction mints a new URIToken and assigns ownership to the specified account. The URIToken represents a unique digital asset that can be used in various applications.
[Source]
(Added by the [URIToken amendment][].)
Example
Field | JSON Type | [Internal Type][] | Description |
---|---|---|---|
| String | AccountID | The address of the account that will own the minted URIToken. |
| String | String | The URI associated with the minted URIToken. (256 byte max) |
| String | Hash256 | (Optional) The digest of the URIToken. |
| String | AccountID | (Optional) The address of the account that can buy the minted URIToken. |
| Amount | (Optional) The amount of currency the account wants to receive in exchange for the URIToken. |
URITokenMint Flags
Transactions of the URITokenMint type support additional values in the Flags
field, as follows:
Flag Name | Hex Value | Decimal Value | Description |
---|---|---|---|
|
| 1 | Allow the issuer (or an entity authorized by the issuer) to destroy the minted |
Error Cases
Special Transaction Cost
The URIToken Mint transaction has a standard transaction cost, which is the minimum transaction cost required for all transactions.
Error Cases
Besides errors that can occur for all transactions, URIToken Mint transactions can result in the following transaction result codes:
Error Code | Description |
---|---|
| Occurs if a URIToken with the same URI from the same issuer already exists. |
| Occurs if the owner's directory is full and cannot accommodate the new URIToken. |
| Occurs when the user specified an incorrect |
| Occurs if the sending account does not exist. |
Last updated