public static BlobType of(final int versionId) {
    for (BlobType blobType : BlobType.values()) {
      if (blobType.getVersionId() == versionId) {
        return blobType;
      }
    }
    throw new IllegalArgumentException("No BlobType found for version ID: " + versionId);
  }
Retrieves the BlobType enum constant corresponding to the given version ID.

@param versionId the integer version ID
@return the corresponding BlobType enum constant
@throws IllegalArgumentException if no matching BlobType is found
datatypes/src/main/java/org/hyperledger/besu/datatypes/BlobType.java