Skip to main content

Interface: IBlockMetadata

Response from the metadata endpoint.

Table of contents​

Properties​

Properties​

blockId​

• blockId: string

The block id.


parents​

• parents: string[]

The parent block ids.


isSolid​

• isSolid: boolean

Is the block solid.


referencedByMilestoneIndex​

• Optional referencedByMilestoneIndex: number

Is the block referenced by a milestone.


milestoneIndex​

• Optional milestoneIndex: number

Is this block a valid milestone.


ledgerInclusionState​

• Optional ledgerInclusionState: LedgerInclusionState

The ledger inclusion state.


conflictReason​

• Optional conflictReason: ConflictReason

The conflict reason.


shouldPromote​

• Optional shouldPromote: boolean

Should the block be promoted.


shouldReattach​

• Optional shouldReattach: boolean

Should the block be reattached.