code: function Output(options) {
    if (!(this instanceof Output))
      return new Output(options);
  
    this.value = 0;
    this.script = new Script();
  
    if (options)
      this.fromOptions(options);
  }
docs: Represents a transaction output.
  @alias module:primitives.Output
  @constructor
  @param {NakedOutput} options
  @property {Amount} value - Value in wmcoins.
  @property {Script} script