Skip to main content
The ID of a non-fungible token (NFT). The NFT ID is composed of the token ID and a serial number.
ConstructorDescription
new NftId(<tokenId>,<serial>)Initializes the NftId object
new NftId()

Methods

MethodTypeRequirement
NftId.fromString(<id>)StringOptional
NftId.fromBytes(<id>)bytes []Optional
new NftId(new TokenId(0,0,2), 56562);

// v2.0.11