static fun fromHexString(str: String): Block (source)
Parse a hexadecimal string into a Block.
str - The hexadecimal string to parse, which may or may not start with "0x".
IllegalArgumentException - if str does not correspond to a valid hexadecimal representation.
RLPException - If there is an error decoding the block.
Return
The value corresponding to str.