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:
Owner
String
Account
Yes
The owner of the URI Token.
OwnerNode
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.
Issuer
String
Account
Yes
The issuer of the URI Token.
URI
String
VL
Yes
The URI represented by this token.
Digest
String
Hash256
No
Arbitrary 256-bit hash provided by the owner as a specific identifier for this URI Token.
Amount
String or Object
Amount
No
The amount of the URI Token.
Destination
String
Account
No
The intended recipient of the URI Token.
PreviousTxnID
String
Hash256
Yes
The identifying hash of the transaction that most recently modified this object.
PreviousTxnLgrSeq
Number
UInt32
Yes
The index of the ledger that contains the transaction that most recently modified this object.
LedgerEntryType
String
UInt16
Yes
The value 0x0073
, mapped to the string URIToken
, indicates that this object is a URI Token object.
URIToken Flags
URIToken
objects can have the following flag values:
Flag Name
Hex Value
Decimal Value
Corresponding URITokenMint Flag
Description
lsfBurnable
0x00000001
1
tfBurnable
The issuer (or an entity authorized by the issuer) to destroy the minted URIToken
. (The URIToken
's owner can always do so.)
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