@silvana-one/nftClassesNFTImmutableStateOn this pageNFTImmutableState Represents the immutable state of an NFT, containing read-only properties and flags that determine the NFT's behavior and permissions.HierarchyanyNFTImmutableStateIndex ConstructorsconstructorMethodsassertEqualfromNFTDataConstructors constructornew NFTImmutableState(): NFTImmutableStateReturns NFTImmutableStateMethods staticassertEqualassertEqual(a: NFTImmutableState, b: NFTImmutableState): voidAsserts that two NFTImmutableState instances are equal.Parametersa: NFTImmutableStateThe first NFTImmutableState instance.b: NFTImmutableStateThe second NFTImmutableState instance.Returns voidstaticfromNFTDatafromNFTData(params: { address: PublicKey; nftData: NFTData; tokenId: Field }): NFTImmutableStateCreates a new NFTImmutableState from NFTData and other parameters.Parametersparams: { address: PublicKey; nftData: NFTData; tokenId: Field }The parameters including nftData, creator, address, and tokenId.address: PublicKeynftData: NFTDatatokenId: FieldReturns NFTImmutableStateA new NFTImmutableState instance.
Represents the immutable state of an NFT, containing read-only properties and flags that determine the NFT's behavior and permissions.