Types of NFT IDs
Every NFT minted in a Neo N3 smart contract has its own unique ID and the same NFT ID can be represented in multiple ways.
Currently, we have identified 3 different types or formats used by various apps to represent NFT IDs in the Neo N3 ecosystem.
- Integer IDs
- Hexadecimal IDs
- Base64 encoded IDs
For example, a Neoverse's E #167 Core NFT has the following IDs which are equivalent:
Integer IDs are numeric IDs and is the easiest to identify and understand as they contain numbers only (
GhostMarket uses integer IDs for Neo N3 NFTs which can be seen when you view a NFT's details as shown below.
You can also find the full token ID from the URL in your browser's address bar when viewing an NFT in GhostMarket.
Hexadecimal (or hex) IDs are composed of numbers (
0-9) and 6 specific alphabet letters (
You may refer to Wikipedia If you would like to read a detailed description of what a hexadecimal is.
There are situations where hexadecimal IDs may consist of only numbers, which may make them seem like integer IDs. However, a hexadecimal ID and an integer ID with the same value will point to different tokens.
- a hexadecimal ID of
11is equivalent to an integer ID of
- an integer ID of
11is equivalent to a hexadecimal ID of
Neo has a converter for users to conveniently convert between types.
Base64 Encoded IDs
Base64 encoded IDs are composed of
0-9 (some may include:
/) and may or may not end with
Again, if you would like a detailed and more accurate description, you may refer to Wikipedia.
OneGate explorer and SkyHut uses base64 encoded IDs.
In common everyday scenarios, you would not need to worry about an NFT's ID as most NFT collections strive to have unique names for their NFTs, which is a much more friendly way for users to differentiate between NFTs.
However, in cases where you need to share a specific NFT ID with another party, it is good to have a basic understanding of the different types of IDs and ensure the same type of ID is used by all parties.
We have updated N3 Trader to support all 3 types of token IDs.
When creating an open trade, you can input any type of token ID and search for matching NFTs.
All matching NFTs will be returned and displayed with its name and image. You can then select the NFT you wish to trade.
In N3 Trader, mousing over NFTs in trade will display its ID in hexadecimal.