Skip to content

Latest commit

 

History

History
60 lines (50 loc) · 745 Bytes

BlockHeader.md

File metadata and controls

60 lines (50 loc) · 745 Bytes

BlockHeader

getParentHash(): string

Returns a parent block hex-encoded hash string


getStateRootHash(): string

Returns global state hex-encoded hash string


getBodyHash(): string

Returns a block body hex-encoded hash string


isRandomBit(): bool

Returns is_random bit flag


getAccumulatedSeed(): string

Returns hex-encoded hash string


getEraEnd(): ?EraEnd

Returns EraEnd object or null


getTimestamp(): int

Returns a block creation time


getEraId(): int

Returns era id


getHeight(): int

Returns a block height


getProtocolVersion(): string

Returns Casper Platform protocol version