Skip to main content

Module nft

Module nft 

Source
Expand description

NFToken (Non-Fungible Token) type for XRPL.

Provides a high-level interface for working with NFTokens on the XRP Ledger.

§NFTokenID Structure

An NFTokenID is a 32-byte identifier with the following structure:

000B 0539 C35B55AA096BA6D87A6E6C965A6534150DC56E5E 12C5D09E 0000000C
+--- +--- +--------------------------------------- +------- +-------
|    |    |                                        |        |
|    |    |                                        |        └─> Sequence (32 bits)
|    |    |                                        └─> Scrambled Taxon (32 bits)
|    |    └─> Issuer Address (160 bits / 20 bytes)
|    └─> Transfer Fee (16 bits)
└─> Flags (16 bits)

Modules§

flags
NFToken flags - see NFToken documentation

Structs§

NFToken
Represents an NFToken (Non-Fungible Token) on the XRP Ledger.
NftFlags
A wrapper around NFToken flags that provides efficient helper methods.

Constants§

NFT_ID_SIZE
Size of an NFTokenID in bytes (256 bits)