Module std::block

Expand description

Functionality for accessing block-related data.

Enums

Error type for when the block hash cannot be found.

Functions

Get the header hash of the block at height block_height

Get the current block height.

Get the TAI64 timestamp of the current block.

Get the TAI64 timestamp of a block at a given block_height.