Functions§
- block_
info_ from_ metadata - Constructs a
BlockInfostructure from the provided response metadata. This function translates metadata received from a platform response into a format that is specific to the application’s needs, particularly focusing on block-related information. It ensures that the epoch value from the metadata does not exceedMAX_EPOCH, as this is a constraint for theEpochtype used in theBlockInfostructure.