Skip to main content

Class: AddressUnlockCondition

An address unlock condition.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new AddressUnlockCondition(address)

Parameters

NameTypeDescription
addressAddressThe address that needs to be unlocked with a private key.

Overrides

UnlockCondition.constructor

Properties

type

Readonly type: UnlockConditionType

Inherited from

UnlockCondition.type


address

Readonly address: Address

An address unlocked with a private key.

Methods

getType

getType(): UnlockConditionType

Get the type of unlock condition.

Returns

UnlockConditionType

Inherited from

UnlockCondition.getType


parse

Static parse(data): UnlockCondition

Parse an unlock condition from a plain JS JSON object.

Parameters

NameType
dataany

Returns

UnlockCondition

Inherited from

UnlockCondition.parse


getAddress

getAddress(): Address

Get the address.

Returns

Address