PauseNFTEvent

Class: PauseNFTEvent

Properties overview

  • address: PublicKey = PublicKey;
  • isPaused: Bool = Bool;

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

Emitted when an NFT is paused or resumed.

Extends

  • {
    address: PublicKey;
    isPaused: Bool;
    }

Constructors

new PauseNFTEvent()

new PauseNFTEvent(value: {
  address: PublicKey;
  isPaused: Bool;
 }): PauseNFTEvent

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 NFT.

isPaused

Bool = Bool

Indicates whether the NFT is paused (true) or resumed (false).

Returns

PauseNFTEvent

Inherited from

Struct({
  / The public key address of the NFT. /
  address: PublicKey,
  / Indicates whether the NFT is paused (true) or resumed (false). /
  isPaused: Bool,
}).constructor

Properties

address

address: PublicKey = PublicKey;

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

The public key address of the NFT.

Inherited from

Struct({
  / The public key address of the NFT. /
  address: PublicKey,
  / Indicates whether the NFT is paused (true) or resumed (false). /
  isPaused: Bool,
}).address

isPaused

isPaused: Bool = Bool;

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

Indicates whether the NFT is paused (true) or resumed (false).

Inherited from

Struct({
  / The public key address of the NFT. /
  address: PublicKey,
  / Indicates whether the NFT is paused (true) or resumed (false). /
  isPaused: Bool,
}).isPaused