Functions§
- 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 exceed the maximum allowed for a 16-bit integer, as this is a constraint for theBlockInfostructure.