Package org.bitcoinj.protobuf.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.ByteStringgetScriptBytes()Script that contains the signatures/pubkeys.intgetSequence()Sequence number.com.google.protobuf.ByteStringgetTransactionOutPointHash()Hash of the transaction this input is using.intgetTransactionOutPointIndex()Index of transaction output used by this input.longgetValue()Value of connected output, if knownProtos.ScriptWitnessgetWitness()script witnessbooleanhasScriptBytes()Script that contains the signatures/pubkeys.booleanhasSequence()Sequence number.booleanhasTransactionOutPointHash()Hash of the transaction this input is using.booleanhasTransactionOutPointIndex()Index of transaction output used by this input.booleanhasValue()Value of connected output, if knownbooleanhasWitness()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.
-
-