URIToken
(Added by the [URI Token amendment][].)
A URIToken
object describes a URI token, which can be used to represent a unique resource identifier in the ledger.
Example JSON
Fields
A URIToken
object has the following fields:
Field | JSON Type | [Internal Type][] | Required? | Description |
---|---|---|---|---|
| String | Account | Yes | The owner of the URI Token. |
| String | UInt64 | Yes | A hint indicating which page of the owner's directory links to this object, in case the directory consists of multiple pages. |
| String | Account | Yes | The issuer of the URI Token. |
| String | VL | Yes | The URI represented by this token. |
| String | Hash256 | No | Arbitrary 256-bit hash provided by the owner as a specific identifier for this URI Token. |
| String or Object | Amount | No | The amount of the URI Token. |
| String | Account | No | The intended recipient of the URI Token. |
| String | Hash256 | Yes | The identifying hash of the transaction that most recently modified this object. |
| Number | UInt32 | Yes | The index of the ledger that contains the transaction that most recently modified this object. |
| String | UInt16 | Yes | The value |
URIToken Flags
URIToken
objects can have the following flag values:
Flag Name | Hex Value | Decimal Value | Corresponding URITokenMint Flag | Description |
|
| 1 |
| The issuer (or an entity authorized by the issuer) to destroy the minted |
URIToken ID Format
The ID of a URIToken
object is the [SHA-512Half][] of the following values, concatenated in order:
The URI Token space key (
0x0055
)The AccountID of the issuer of the URI Token
The URI represented by the URI Token
Last updated