@JsonCreator
  public static BLSPublicKey fromHexString(final String str) {
    if (str == null) return null;
    return wrap(Bytes.fromHexStringLenient(str, SIZE));
  }
Parse a hexadecimal string representing an public key.

@param str A hexadecimal string (with or without the leading '0x') representing a valid bls
    public key.
@return The parsed bls public key: {@code null} if the provided string is {@code null}.
@throws IllegalArgumentException if the string is either not hexadecimal, or not the valid
    representation of a BLSPublicKey.
datatypes/src/main/java/org/hyperledger/besu/datatypes/BLSPublicKey.java