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
Account
String
AccountID
The address of the account that will own the minted URIToken.
URI
String
String
The URI associated with the minted URIToken. (256 byte max)
Digest
String
Hash256
(Optional) The digest of the URIToken.
Destination
String
AccountID
(Optional) The address of the account that can buy the minted URIToken.
Amount
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:
tfBurnable
0x00000001
1
Allow the issuer (or an entity authorized by the issuer) to destroy the minted URIToken
. (The URIToken
's owner can always do so.)
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:
tecDUPLICATE
Occurs if a URIToken with the same URI from the same issuer already exists.
tecDIR_FULL
Occurs if the owner's directory is full and cannot accommodate the new URIToken.
temINVALID_FLAG
Occurs when the user specified an incorrect Flag
.
terNO_ACCOUNT
Occurs if the sending account does not exist.
Last updated