docs: public Coin getInputSum() {
          Coin inputTotal = Coin.ZERO;
  
          for (TransactionInput input: inputs) {
              Coin inputValue = input.getValue();
              if (inputValue != null) {
                  inputTotal = inputTotal.add(inputValue);
              }
          }
  
          return inputTotal;
      }