Last updated 6 months ago
Was this helpful?
The ID of a non-fungible token (NFT). The NFT ID is composed of the and a serial number.
new NftId(<tokenId>,<serial>)
Initializes the NftId object
new NftId()
NftId.fromString(<id>)
String
Optional
NftId.fromBytes(<id>)
bytes []
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