Class: MintEvent

Properties overview

  • address: PublicKey = PublicKey;
  • initialState: NFTStateStruct = NFTStateStruct;

Defined in: packages/nft/src/interfaces/events.ts:19

Emitted when a new NFT is minted in the collection.

Extends

Constructors

new MintEvent()

new MintEvent(value: {
  address: PublicKey;
  initialState: NFTStateStruct;
 }): MintEvent

Defined in: node_modules/o1js/dist/node/lib/provable/types/struct.d.ts:103

Parameters

value
address

PublicKey = PublicKey

The public key address of the minted NFT.

initialState

NFTStateStruct = NFTStateStruct

The initial state of the NFT at the time of minting.

Returns

MintEvent

Inherited from

Struct({
  / The initial state of the NFT at the time of minting. /
  initialState: NFTStateStruct,
  / The public key address of the minted NFT. /
  address: PublicKey,
}).constructor

Properties

address

address: PublicKey = PublicKey;

Defined in: packages/nft/src/interfaces/events.ts:23

The public key address of the minted NFT.

Inherited from

Struct({
  / The initial state of the NFT at the time of minting. /
  initialState: NFTStateStruct,
  / The public key address of the minted NFT. /
  address: PublicKey,
}).address

initialState

initialState: NFTStateStruct = NFTStateStruct;

Defined in: packages/nft/src/interfaces/events.ts:21

The initial state of the NFT at the time of minting.

Inherited from

Struct({
  / The initial state of the NFT at the time of minting. /
  initialState: NFTStateStruct,
  / The public key address of the minted NFT. /
  address: PublicKey,
}).initialState