Module std::block

Expand description

Functionality for accessing block-related data.

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.