Class: AddressUnlockCondition
An address unlock condition.
Hierarchy
↳
AddressUnlockCondition
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new AddressUnlockCondition(address
)
Parameters
Name | Type | Description |
---|---|---|
address | Address | The address that needs to be unlocked with a private key. |
Overrides
Properties
type
• Readonly
type: UnlockConditionType
Inherited from
address
• Readonly
address: Address
An address unlocked with a private key.
Methods
getType
▸ getType(): UnlockConditionType
Get the type of unlock condition.
Returns
Inherited from
parse
▸ Static
parse(data
): UnlockCondition
Parse an unlock condition from a plain JS JSON object.
Parameters
Name | Type |
---|---|
data | any |
Returns
Inherited from
getAddress
▸ getAddress(): Address
Get the address.