Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 451 Bytes

BlockInfo.md

File metadata and controls

36 lines (30 loc) · 451 Bytes

BlockInfo

getHash(): string

Returns block hex-encoded hash string


getTimestamp(): int

Returns block creation time


getEraId(): int

Returns era id


getHeight(): int

Returns a block height


getStateRootHash(): string

Returns the global state hex-encoded hash string


getCreator(): CLPublicKey

Returns CLPublicKey object that representing validator's public key