Class TransactionInputDataUtxo

java.lang.Object
org.consensusj.bitcoinj.signing.TransactionInputDataUtxo
All Implemented Interfaces:
TransactionInputData, Utxo

public class TransactionInputDataUtxo extends Object implements TransactionInputData, Utxo
Immutable aggregate of data for TransactionInput. This holds the same data as Utxo.Complete and the two may be combined in the future.
  • Constructor Details

    • TransactionInputDataUtxo

      public TransactionInputDataUtxo(org.bitcoinj.base.Sha256Hash txId, int index, org.bitcoinj.base.Coin amount, org.bitcoinj.script.Script script)
      Parameters:
      txId - parent txId (shouldn't be needed but Transaction.addSignedInput currently needs an Outpoint)
      index - index of unspent output
      amount - amount of unspent output
      script - This is the scriptPubKey of the utxo we want to spend
  • Method Details