Skip to main content

Class: NftUnlock

An unlock which must reference a previous unlock which unlocks the NFT that the input is locked to.

Hierarchy​

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new NftUnlock(reference)

Parameters​

NameTypeDescription
referencenumberAn index referencing a previous unlock.

Overrides​

Unlock.constructor

Properties​

type​

• Readonly type: UnlockType

Inherited from​

Unlock.type


reference​

• reference: number

The reference.

Methods​

getType​

▸ getType(): UnlockType

Get the type of unlock.

Returns​

UnlockType

Inherited from​

Unlock.getType