Skip to main content

NFTStateStruct

Represents the on-chain state structure of an NFT. The order of the fields is important and should match the NFT SmartContract.

Hierarchy

  • any
    • NFTStateStruct

Index

Constructors

constructor

  • Returns NFTStateStruct

Methods

staticassertEqual

  • Asserts that two NFTStateStruct instances are equal.


    Parameters

    Returns void

staticfromAccount

  • fromAccount(account: Account): any
  • Creates an NFTStateStruct from an account's app state.


    Parameters

    • account: Account

      The account containing the zkApp state.

    Returns any

    A new NFTStateStruct instance.

Page Options