Token Service
NFT ID
The ID of a non-fungible token (NFT). The NFT ID is composed of the token ID and a serial number.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Constructor | Description |
|---|---|
new NftId(<tokenId>,<serial>) | Initializes the NftId object |
new NftId()
| Method | Type | Requirement |
|---|---|---|
NftId.fromString(<id>) | String | Optional |
NftId.fromBytes(<id>) | bytes [] | Optional |
new NftId(new TokenId(0,0,2), 56562);
// v2.0.11
new NftId(new TokenId(0,0,2), 56562);
// v2.0.28
nftId := hedera.NftID{
TokenID: tokenId,
SerialNumber: serialNum,
}
// v2.1.13
Was this page helpful?