docs: public TransactionInput addInput(Sha256Hash spendTxHash, long outputIndex, Script script) {
          return addInput(new TransactionInput(params, this, script.getProgram(), new TransactionOutPoint(params, outputIndex, spendTxHash)));
      }