public static final class TrezorMessage.EthereumSignTx extends com.google.protobuf.GeneratedMessageV3 implements TrezorMessage.EthereumSignTxOrBuilder
Request: Ask device to sign transaction All fields are optional from the protocol's point of view. Each field defaults to value `0` if missing. Note: the first at most 1024 bytes of data MUST be transmitted as part of this message. @next PassphraseRequest @next PinMatrixRequest @next EthereumTxRequest @next FailureProtobuf type
EthereumSignTx| Modifier and Type | Class and Description |
|---|---|
static class |
TrezorMessage.EthereumSignTx.Builder
Request: Ask device to sign transaction
All fields are optional from the protocol's point of view.
|
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 |
ADDRESS_N_FIELD_NUMBER |
static int |
DATA_INITIAL_CHUNK_FIELD_NUMBER |
static int |
DATA_LENGTH_FIELD_NUMBER |
static int |
GAS_LIMIT_FIELD_NUMBER |
static int |
GAS_PRICE_FIELD_NUMBER |
static int |
NONCE_FIELD_NUMBER |
static com.google.protobuf.Parser<TrezorMessage.EthereumSignTx> |
PARSER
Deprecated.
|
static int |
TO_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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
|
com.google.protobuf.ByteString |
getDataInitialChunk()
The initial data chunk (<= 1024 bytes)
|
int |
getDataLength()
Length of transaction payload
|
static TrezorMessage.EthereumSignTx |
getDefaultInstance() |
TrezorMessage.EthereumSignTx |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getGasLimit()
<=256 bit unsigned big endian
|
com.google.protobuf.ByteString |
getGasPrice()
<=256 bit unsigned big endian (in wei)
|
com.google.protobuf.ByteString |
getNonce()
<=256 bit unsigned big endian
|
com.google.protobuf.Parser<TrezorMessage.EthereumSignTx> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getTo()
160 bit address hash
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getValue()
<=256 bit unsigned big endian (in wei)
|
boolean |
hasDataInitialChunk()
The initial data chunk (<= 1024 bytes)
|
boolean |
hasDataLength()
Length of transaction payload
|
boolean |
hasGasLimit()
<=256 bit unsigned big endian
|
boolean |
hasGasPrice()
<=256 bit unsigned big endian (in wei)
|
int |
hashCode() |
boolean |
hasNonce()
<=256 bit unsigned big endian
|
boolean |
hasTo()
160 bit address hash
|
boolean |
hasValue()
<=256 bit unsigned big endian (in wei)
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TrezorMessage.EthereumSignTx.Builder |
newBuilder() |
static TrezorMessage.EthereumSignTx.Builder |
newBuilder(TrezorMessage.EthereumSignTx prototype) |
TrezorMessage.EthereumSignTx.Builder |
newBuilderForType() |
protected TrezorMessage.EthereumSignTx.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TrezorMessage.EthereumSignTx |
parseDelimitedFrom(InputStream input) |
static TrezorMessage.EthereumSignTx |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.EthereumSignTx |
parseFrom(byte[] data) |
static TrezorMessage.EthereumSignTx |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.EthereumSignTx |
parseFrom(ByteBuffer data) |
static TrezorMessage.EthereumSignTx |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.EthereumSignTx |
parseFrom(com.google.protobuf.ByteString data) |
static TrezorMessage.EthereumSignTx |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.EthereumSignTx |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrezorMessage.EthereumSignTx |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.EthereumSignTx |
parseFrom(InputStream input) |
static TrezorMessage.EthereumSignTx |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TrezorMessage.EthereumSignTx> |
parser() |
TrezorMessage.EthereumSignTx.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 ADDRESS_N_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER
public static final int GAS_PRICE_FIELD_NUMBER
public static final int GAS_LIMIT_FIELD_NUMBER
public static final int TO_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int DATA_INITIAL_CHUNK_FIELD_NUMBER
public static final int DATA_LENGTH_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<TrezorMessage.EthereumSignTx> 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<Integer> getAddressNList()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;getAddressNList in interface TrezorMessage.EthereumSignTxOrBuilderpublic int getAddressNCount()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;getAddressNCount in interface TrezorMessage.EthereumSignTxOrBuilderpublic int getAddressN(int index)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;getAddressN in interface TrezorMessage.EthereumSignTxOrBuilderpublic boolean hasNonce()
<=256 bit unsigned big endian
optional bytes nonce = 2;hasNonce in interface TrezorMessage.EthereumSignTxOrBuilderpublic com.google.protobuf.ByteString getNonce()
<=256 bit unsigned big endian
optional bytes nonce = 2;getNonce in interface TrezorMessage.EthereumSignTxOrBuilderpublic boolean hasGasPrice()
<=256 bit unsigned big endian (in wei)
optional bytes gas_price = 3;hasGasPrice in interface TrezorMessage.EthereumSignTxOrBuilderpublic com.google.protobuf.ByteString getGasPrice()
<=256 bit unsigned big endian (in wei)
optional bytes gas_price = 3;getGasPrice in interface TrezorMessage.EthereumSignTxOrBuilderpublic boolean hasGasLimit()
<=256 bit unsigned big endian
optional bytes gas_limit = 4;hasGasLimit in interface TrezorMessage.EthereumSignTxOrBuilderpublic com.google.protobuf.ByteString getGasLimit()
<=256 bit unsigned big endian
optional bytes gas_limit = 4;getGasLimit in interface TrezorMessage.EthereumSignTxOrBuilderpublic boolean hasTo()
160 bit address hash
optional bytes to = 5;hasTo in interface TrezorMessage.EthereumSignTxOrBuilderpublic com.google.protobuf.ByteString getTo()
160 bit address hash
optional bytes to = 5;getTo in interface TrezorMessage.EthereumSignTxOrBuilderpublic boolean hasValue()
<=256 bit unsigned big endian (in wei)
optional bytes value = 6;hasValue in interface TrezorMessage.EthereumSignTxOrBuilderpublic com.google.protobuf.ByteString getValue()
<=256 bit unsigned big endian (in wei)
optional bytes value = 6;getValue in interface TrezorMessage.EthereumSignTxOrBuilderpublic boolean hasDataInitialChunk()
The initial data chunk (<= 1024 bytes)
optional bytes data_initial_chunk = 7;hasDataInitialChunk in interface TrezorMessage.EthereumSignTxOrBuilderpublic com.google.protobuf.ByteString getDataInitialChunk()
The initial data chunk (<= 1024 bytes)
optional bytes data_initial_chunk = 7;getDataInitialChunk in interface TrezorMessage.EthereumSignTxOrBuilderpublic boolean hasDataLength()
Length of transaction payload
optional uint32 data_length = 8;hasDataLength in interface TrezorMessage.EthereumSignTxOrBuilderpublic int getDataLength()
Length of transaction payload
optional uint32 data_length = 8;getDataLength in interface TrezorMessage.EthereumSignTxOrBuilderpublic 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 TrezorMessage.EthereumSignTx parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.EthereumSignTx parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.EthereumSignTx parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.EthereumSignTx parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.EthereumSignTx parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.EthereumSignTx parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorMessage.EthereumSignTx parseFrom(InputStream input) throws IOException
IOExceptionpublic static TrezorMessage.EthereumSignTx parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrezorMessage.EthereumSignTx parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TrezorMessage.EthereumSignTx parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrezorMessage.EthereumSignTx parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TrezorMessage.EthereumSignTx parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TrezorMessage.EthereumSignTx.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TrezorMessage.EthereumSignTx.Builder newBuilder()
public static TrezorMessage.EthereumSignTx.Builder newBuilder(TrezorMessage.EthereumSignTx prototype)
public TrezorMessage.EthereumSignTx.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TrezorMessage.EthereumSignTx.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TrezorMessage.EthereumSignTx getDefaultInstance()
public static com.google.protobuf.Parser<TrezorMessage.EthereumSignTx> parser()
public com.google.protobuf.Parser<TrezorMessage.EthereumSignTx> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TrezorMessage.EthereumSignTx getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.