Package org.bitcoinj.wallet
Interface Protos.TransactionInputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Protos.TransactionInput
,Protos.TransactionInput.Builder
- Enclosing class:
- Protos
public static interface Protos.TransactionInputOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteString
getScriptBytes()
Script that contains the signatures/pubkeys.int
getSequence()
Sequence number.com.google.protobuf.ByteString
getTransactionOutPointHash()
Hash of the transaction this input is using.int
getTransactionOutPointIndex()
Index of transaction output used by this input.long
getValue()
Value of connected output, if knownProtos.ScriptWitness
getWitness()
script witnessboolean
hasScriptBytes()
Script that contains the signatures/pubkeys.boolean
hasSequence()
Sequence number.boolean
hasTransactionOutPointHash()
Hash of the transaction this input is using.boolean
hasTransactionOutPointIndex()
Index of transaction output used by this input.boolean
hasValue()
Value of connected output, if knownboolean
hasWitness()
script witness
-
-
-
Method Detail
-
hasTransactionOutPointHash
boolean hasTransactionOutPointHash()
Hash of the transaction this input is using.
required bytes transaction_out_point_hash = 1;
- Returns:
- Whether the transactionOutPointHash field is set.
-
getTransactionOutPointHash
com.google.protobuf.ByteString getTransactionOutPointHash()
Hash of the transaction this input is using.
required bytes transaction_out_point_hash = 1;
- Returns:
- The transactionOutPointHash.
-
hasTransactionOutPointIndex
boolean hasTransactionOutPointIndex()
Index of transaction output used by this input.
required uint32 transaction_out_point_index = 2;
- Returns:
- Whether the transactionOutPointIndex field is set.
-
getTransactionOutPointIndex
int getTransactionOutPointIndex()
Index of transaction output used by this input.
required uint32 transaction_out_point_index = 2;
- Returns:
- The transactionOutPointIndex.
-
hasScriptBytes
boolean hasScriptBytes()
Script that contains the signatures/pubkeys.
required bytes script_bytes = 3;
- Returns:
- Whether the scriptBytes field is set.
-
getScriptBytes
com.google.protobuf.ByteString getScriptBytes()
Script that contains the signatures/pubkeys.
required bytes script_bytes = 3;
- Returns:
- The scriptBytes.
-
hasSequence
boolean hasSequence()
Sequence number.
optional uint32 sequence = 4;
- Returns:
- Whether the sequence field is set.
-
getSequence
int getSequence()
Sequence number.
optional uint32 sequence = 4;
- Returns:
- The sequence.
-
hasValue
boolean hasValue()
Value of connected output, if known
optional int64 value = 5;
- Returns:
- Whether the value field is set.
-
getValue
long getValue()
Value of connected output, if known
optional int64 value = 5;
- Returns:
- The value.
-
hasWitness
boolean hasWitness()
script witness
optional .wallet.ScriptWitness witness = 6;
- Returns:
- Whether the witness field is set.
-
getWitness
Protos.ScriptWitness getWitness()
script witness
optional .wallet.ScriptWitness witness = 6;
- Returns:
- The witness.
-
-