Skip to main content

Class: StateControllerAddressUnlockCondition

A State Controller Address Unlock Condition.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new StateControllerAddressUnlockCondition(address)

Parameters

NameTypeDescription
addressAddressThe State Controller address that is allowed to do state transitions.

Overrides

UnlockCondition.constructor

Properties

type

Readonly type: UnlockConditionType

Inherited from

UnlockCondition.type


address

Readonly address: Address

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 State Controller address.

Returns

Address