Skip to main content

NFTState

Represents the full state of an NFT, including both immutable and mutable properties.

Hierarchy

  • any
    • NFTState

Index

Constructors

constructor

  • Returns NFTState

Methods

staticassertEqual

  • Asserts that two NFTState instances are equal.


    Parameters

    Returns void

staticfromNFTState

  • Creates a new NFTState from an NFTStateStruct and other parameters.


    Parameters

    • params: { address: PublicKey; context?: NFTTransactionContext; creator: PublicKey; nftState: NFTStateStruct; oracleAddress?: PublicKey; tokenId: Field }

      The parameters including nftState, creator, address, and tokenId.

    Returns NFTState

    A new NFTState instance.

Page Options