Trait cardano_serialization_lib::chain_core::property::HasHeader[][src]

pub trait HasHeader {
    type Header: Header;
    fn header(&self) -> Self::Header;
}
Expand description

Access to the block header.

If featured by the blockchain, the header can be used to transmit block’s metadata via a network protocol or in other uses where the full content of the block is too bulky and not necessary.

Associated Types

The block header type.

Required methods

Retrieves the block’s header.

Implementors