Skip to content

FinalizedBlockHeader⚓︎

Constructors⚓︎

Constructor⚓︎

new FinalizedBlockHeader(): FinalizedBlockHeader;

Returns⚓︎

FinalizedBlockHeader

Properties⚓︎

Property Modifier Type
_hash public Hash256
_height public Height
_round public FinalizationRound
TYPE_HINTS static object
TYPE_HINTS.hash public string
TYPE_HINTS.height public string
TYPE_HINTS.round public string

Accessors⚓︎

hash⚓︎

Get Signature⚓︎

get hash(): Hash256;
Returns⚓︎

Hash256

Set Signature⚓︎

set hash(value): void;
Parameters⚓︎
Parameter Type
value Hash256
Returns⚓︎

void


height⚓︎

Get Signature⚓︎

get height(): Height;
Returns⚓︎

Height

Set Signature⚓︎

set height(value): void;
Parameters⚓︎
Parameter Type
value Height
Returns⚓︎

void


round⚓︎

Get Signature⚓︎

get round(): FinalizationRound;
Returns⚓︎

FinalizationRound

Set Signature⚓︎

set round(value): void;
Parameters⚓︎
Parameter Type
value FinalizationRound
Returns⚓︎

void


size⚓︎

Get Signature⚓︎

get size(): number;
Returns⚓︎

number

Methods⚓︎

serialize()⚓︎

serialize(): Uint8Array<ArrayBufferLike>;

Returns⚓︎

Uint8Array<ArrayBufferLike>


sort()⚓︎

sort(): void;

Returns⚓︎

void


toJson()⚓︎

toJson(): object;

Returns⚓︎

object

JSON-safe representation of this object.


toString()⚓︎

toString(): string;

Returns⚓︎

string


deserialize()⚓︎

static deserialize(payload): FinalizedBlockHeader;

Parameters⚓︎

Parameter Type
payload any

Returns⚓︎

FinalizedBlockHeader