Class: MilestonePayload
A milestone payload.
Hierarchy
↳
MilestonePayload
Table of contents
Constructors
Properties
- index
- timestamp
- protocolVersion
- previousMilestoneId
- parents
- inclusionMerkleRoot
- appliedMerkleRoot
- metadata
- options
- signatures
- type
Methods
Constructors
constructor
• new MilestonePayload()
Overrides
Properties
index
• index: number
The index name.
timestamp
• timestamp: number
The timestamp of the milestone.
protocolVersion
• protocolVersion: number
The protocol version.
previousMilestoneId
• previousMilestoneId: string
The id of the previous milestone.
parents
• parents: string
[]
The parents where this milestone attaches to.
inclusionMerkleRoot
• inclusionMerkleRoot: string
The Merkle tree hash of all blocks confirmed by this milestone.
appliedMerkleRoot
• appliedMerkleRoot: string
The Merkle tree hash of all blocks applied by this milestone.
metadata
• Optional
metadata: string
The metadata.
options
• Optional
options: MilestoneOption
[]
The milestone options.
signatures
• signatures: Ed25519Signature
[]
The signatures.
type
• Readonly
type: PayloadType
Inherited from
Methods
getType
▸ getType(): PayloadType
Get the type of payload.