[−][src]Trait concordium_std::HasChainMetadata
Objects which can access chain metadata.
Required methods
pub fn slot_time(&self) -> SlotTime
[src]
Get time in milliseconds at the beginning of this block.
pub fn block_height(&self) -> BlockHeight
[src]
Get block height of the current block.
pub fn finalized_height(&self) -> FinalizedHeight
[src]
Get the height of the last finalized block, i.e., block to which the current block has a finalized pointer to.
pub fn slot_number(&self) -> SlotNumber
[src]
Get the slot number of the current block.