public TransactionOutput addOutput ( Coin value , Script script ) { return addOutput ( new TransactionOutput ( params , this , value , script . getProgram ( ) ) ) ; }
Creates an output that pays to the given script . The address and key forms are specialisations of this method you won t normally need to use it unless you re doing unusual things .