static fun fromHexString(str: String!): Block!
(source)
Parse a hexadecimal string into a Block
.
str
- String!: 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
Block!: The value corresponding to str
.