Class: ProtocolParamsMilestoneOption
A Protocol Parameters Milestone Option.
Hierarchy
↳
ProtocolParamsMilestoneOption
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ProtocolParamsMilestoneOption(targetMilestoneIndex
, protocolVersion
, params
)
Parameters
Name | Type | Description |
---|---|---|
targetMilestoneIndex | number | The milestone index at which these protocol parameters become active. |
protocolVersion | number | The to be applied protocol version. |
params | string | The protocol parameters in binary form. Hex-encoded with 0x prefix. |
Overrides
Properties
type
• Readonly
type: MilestoneOptionType
Inherited from
targetMilestoneIndex
• targetMilestoneIndex: number
The milestone index at which these protocol parameters become active.
protocolVersion
• protocolVersion: number
The to be applied protocol version.
params
• params: string
The protocol parameters in binary form. Hex-encoded with 0x prefix.
Methods
getType
▸ getType(): MilestoneOptionType
Get the type of milestone option.