public static interface TrezorType.TxInputTypeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getAddressN(int index)
BIP-32 path to derive the key from master node
|
int |
getAddressNCount()
BIP-32 path to derive the key from master node
|
List<Integer> |
getAddressNList()
BIP-32 path to derive the key from master node
|
long |
getAmount()
amount of previous transaction output (for segwit only)
|
TrezorType.MultisigRedeemScriptType |
getMultisig()
Filled if input is going to spend multisig tx
|
TrezorType.MultisigRedeemScriptTypeOrBuilder |
getMultisigOrBuilder()
Filled if input is going to spend multisig tx
|
com.google.protobuf.ByteString |
getPrevHash()
hash of previous transaction output to spend by this input
|
int |
getPrevIndex()
index of previous output to spend
|
com.google.protobuf.ByteString |
getScriptSig()
script signature, unset for tx to sign
|
TrezorType.InputScriptType |
getScriptType()
defines template of input script
|
int |
getSequence()
sequence
|
boolean |
hasAmount()
amount of previous transaction output (for segwit only)
|
boolean |
hasMultisig()
Filled if input is going to spend multisig tx
|
boolean |
hasPrevHash()
hash of previous transaction output to spend by this input
|
boolean |
hasPrevIndex()
index of previous output to spend
|
boolean |
hasScriptSig()
script signature, unset for tx to sign
|
boolean |
hasScriptType()
defines template of input script
|
boolean |
hasSequence()
sequence
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<Integer> getAddressNList()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;int getAddressNCount()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;int getAddressN(int index)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;boolean hasPrevHash()
hash of previous transaction output to spend by this input
required bytes prev_hash = 2;com.google.protobuf.ByteString getPrevHash()
hash of previous transaction output to spend by this input
required bytes prev_hash = 2;boolean hasPrevIndex()
index of previous output to spend
required uint32 prev_index = 3;int getPrevIndex()
index of previous output to spend
required uint32 prev_index = 3;boolean hasScriptSig()
script signature, unset for tx to sign
optional bytes script_sig = 4;com.google.protobuf.ByteString getScriptSig()
script signature, unset for tx to sign
optional bytes script_sig = 4;boolean hasSequence()
sequence
optional uint32 sequence = 5 [default = 4294967295];int getSequence()
sequence
optional uint32 sequence = 5 [default = 4294967295];boolean hasScriptType()
defines template of input script
optional .InputScriptType script_type = 6 [default = SPENDADDRESS];TrezorType.InputScriptType getScriptType()
defines template of input script
optional .InputScriptType script_type = 6 [default = SPENDADDRESS];boolean hasMultisig()
Filled if input is going to spend multisig tx
optional .MultisigRedeemScriptType multisig = 7;TrezorType.MultisigRedeemScriptType getMultisig()
Filled if input is going to spend multisig tx
optional .MultisigRedeemScriptType multisig = 7;TrezorType.MultisigRedeemScriptTypeOrBuilder getMultisigOrBuilder()
Filled if input is going to spend multisig tx
optional .MultisigRedeemScriptType multisig = 7;boolean hasAmount()
amount of previous transaction output (for segwit only)
optional uint64 amount = 8;long getAmount()
amount of previous transaction output (for segwit only)
optional uint64 amount = 8;Copyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.