public static final class KeepKeyMessage.SimpleSignTx extends com.google.protobuf.GeneratedMessageV3 implements KeepKeyMessage.SimpleSignTxOrBuilder
Request: Simplified transaction signing This method doesn't support streaming, so there are hardware limits in number of inputs and outputs. In case of success, the result is returned using TxRequest message. @next PassphraseRequest @next PinMatrixRequest @next TxRequest @next FailureProtobuf type
SimpleSignTx| Modifier and Type | Class and Description |
|---|---|
static class |
KeepKeyMessage.SimpleSignTx.Builder
Request: Simplified transaction signing
This method doesn't support streaming, so there are hardware limits in number of inputs and outputs.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
COIN_NAME_FIELD_NUMBER |
static int |
INPUTS_FIELD_NUMBER |
static int |
OUTPUTS_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> |
PARSER
Deprecated.
|
static int |
TRANSACTIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCoinName()
coin to use
|
com.google.protobuf.ByteString |
getCoinNameBytes()
coin to use
|
static KeepKeyMessage.SimpleSignTx |
getDefaultInstance() |
KeepKeyMessage.SimpleSignTx |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
KeepKeyType.TxInputType |
getInputs(int index)
transaction inputs
|
int |
getInputsCount()
transaction inputs
|
List<KeepKeyType.TxInputType> |
getInputsList()
transaction inputs
|
KeepKeyType.TxInputTypeOrBuilder |
getInputsOrBuilder(int index)
transaction inputs
|
List<? extends KeepKeyType.TxInputTypeOrBuilder> |
getInputsOrBuilderList()
transaction inputs
|
KeepKeyType.TxOutputType |
getOutputs(int index)
transaction outputs
|
int |
getOutputsCount()
transaction outputs
|
List<KeepKeyType.TxOutputType> |
getOutputsList()
transaction outputs
|
KeepKeyType.TxOutputTypeOrBuilder |
getOutputsOrBuilder(int index)
transaction outputs
|
List<? extends KeepKeyType.TxOutputTypeOrBuilder> |
getOutputsOrBuilderList()
transaction outputs
|
com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> |
getParserForType() |
int |
getSerializedSize() |
KeepKeyType.TransactionType |
getTransactions(int index)
transactions whose outputs are used to build current inputs
|
int |
getTransactionsCount()
transactions whose outputs are used to build current inputs
|
List<KeepKeyType.TransactionType> |
getTransactionsList()
transactions whose outputs are used to build current inputs
|
KeepKeyType.TransactionTypeOrBuilder |
getTransactionsOrBuilder(int index)
transactions whose outputs are used to build current inputs
|
List<? extends KeepKeyType.TransactionTypeOrBuilder> |
getTransactionsOrBuilderList()
transactions whose outputs are used to build current inputs
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCoinName()
coin to use
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyMessage.SimpleSignTx.Builder |
newBuilder() |
static KeepKeyMessage.SimpleSignTx.Builder |
newBuilder(KeepKeyMessage.SimpleSignTx prototype) |
KeepKeyMessage.SimpleSignTx.Builder |
newBuilderForType() |
protected KeepKeyMessage.SimpleSignTx.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static KeepKeyMessage.SimpleSignTx |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.SimpleSignTx |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(byte[] data) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(ByteBuffer data) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(InputStream input) |
static KeepKeyMessage.SimpleSignTx |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> |
parser() |
KeepKeyMessage.SimpleSignTx.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INPUTS_FIELD_NUMBER
public static final int OUTPUTS_FIELD_NUMBER
public static final int TRANSACTIONS_FIELD_NUMBER
public static final int COIN_NAME_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<KeepKeyType.TxInputType> getInputsList()
transaction inputs
repeated .TxInputType inputs = 1;getInputsList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic List<? extends KeepKeyType.TxInputTypeOrBuilder> getInputsOrBuilderList()
transaction inputs
repeated .TxInputType inputs = 1;getInputsOrBuilderList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic int getInputsCount()
transaction inputs
repeated .TxInputType inputs = 1;getInputsCount in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TxInputType getInputs(int index)
transaction inputs
repeated .TxInputType inputs = 1;getInputs in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TxInputTypeOrBuilder getInputsOrBuilder(int index)
transaction inputs
repeated .TxInputType inputs = 1;getInputsOrBuilder in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic List<KeepKeyType.TxOutputType> getOutputsList()
transaction outputs
repeated .TxOutputType outputs = 2;getOutputsList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic List<? extends KeepKeyType.TxOutputTypeOrBuilder> getOutputsOrBuilderList()
transaction outputs
repeated .TxOutputType outputs = 2;getOutputsOrBuilderList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic int getOutputsCount()
transaction outputs
repeated .TxOutputType outputs = 2;getOutputsCount in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TxOutputType getOutputs(int index)
transaction outputs
repeated .TxOutputType outputs = 2;getOutputs in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TxOutputTypeOrBuilder getOutputsOrBuilder(int index)
transaction outputs
repeated .TxOutputType outputs = 2;getOutputsOrBuilder in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic List<KeepKeyType.TransactionType> getTransactionsList()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;getTransactionsList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic List<? extends KeepKeyType.TransactionTypeOrBuilder> getTransactionsOrBuilderList()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;getTransactionsOrBuilderList in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic int getTransactionsCount()
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;getTransactionsCount in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TransactionType getTransactions(int index)
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;getTransactions in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic KeepKeyType.TransactionTypeOrBuilder getTransactionsOrBuilder(int index)
transactions whose outputs are used to build current inputs
repeated .TransactionType transactions = 3;getTransactionsOrBuilder in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic boolean hasCoinName()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];hasCoinName in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic String getCoinName()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];getCoinName in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic com.google.protobuf.ByteString getCoinNameBytes()
coin to use
optional string coin_name = 4 [default = "Bitcoin"];getCoinNameBytes in interface KeepKeyMessage.SimpleSignTxOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static KeepKeyMessage.SimpleSignTx parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.SimpleSignTx parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.SimpleSignTx parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.SimpleSignTx parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic KeepKeyMessage.SimpleSignTx.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyMessage.SimpleSignTx.Builder newBuilder()
public static KeepKeyMessage.SimpleSignTx.Builder newBuilder(KeepKeyMessage.SimpleSignTx prototype)
public KeepKeyMessage.SimpleSignTx.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeepKeyMessage.SimpleSignTx.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static KeepKeyMessage.SimpleSignTx getDefaultInstance()
public static com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> parser()
public com.google.protobuf.Parser<KeepKeyMessage.SimpleSignTx> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public KeepKeyMessage.SimpleSignTx getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.