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
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString
Script that contains the signatures/pubkeys.int
Sequence number.com.google.protobuf.ByteString
Hash of the transaction this input is using.int
Index of transaction output used by this input.long
getValue()
Value of connected output, if knownscript witnessboolean
Script that contains the signatures/pubkeys.boolean
Sequence number.boolean
Hash of the transaction this input is using.boolean
Index of transaction output used by this input.boolean
hasValue()
Value of connected output, if knownboolean
script witnessMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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.
-