public static BlobGas fromQuantity(final Quantity quantity) {
    return BlobGas.of(quantity.getAsBigInteger());
  }
From quantity to blob gas.

@param quantity the quantity
@return the blob gas
datatypes/src/main/java/org/hyperledger/besu/datatypes/BlobGas.java