public static String create(final UInt64Value<?> value) {
    return (value == null || value.isZero()) ? HEX_ZERO : value.toMinimalBytes().toShortHexString();
  }
Utility for formatting "quantity" fields and results to be returned. Quantity fields are
represented as minimal length hex strings with no zero-padding. There is one exception to this
rule: quantities equal to zero are represented by the hex string "0x0".
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/results/Quantity.java