Skip to main content

Class: MilestonePayload

A milestone payload.

Hierarchy​

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new MilestonePayload()

Overrides​

Payload.constructor

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​

Payload.type

Methods​

getType​

▸ getType(): PayloadType

Get the type of payload.

Returns​

PayloadType

Inherited from​

Payload.getType