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) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public List<Integer> getAddressNList()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;
getAddressNList
in interface TrezorMessage.EthereumSignTxOrBuilder
public int getAddressNCount()
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;
getAddressNCount
in interface TrezorMessage.EthereumSignTxOrBuilder
public int getAddressN(int index)
BIP-32 path to derive the key from master node
repeated uint32 address_n = 1;
getAddressN
in interface TrezorMessage.EthereumSignTxOrBuilder
public boolean hasNonce()
<=256 bit unsigned big endian
optional bytes nonce = 2;
hasNonce
in interface TrezorMessage.EthereumSignTxOrBuilder
public com.google.protobuf.ByteString getNonce()
<=256 bit unsigned big endian
optional bytes nonce = 2;
getNonce
in interface TrezorMessage.EthereumSignTxOrBuilder
public boolean hasGasPrice()
<=256 bit unsigned big endian (in wei)
optional bytes gas_price = 3;
hasGasPrice
in interface TrezorMessage.EthereumSignTxOrBuilder
public com.google.protobuf.ByteString getGasPrice()
<=256 bit unsigned big endian (in wei)
optional bytes gas_price = 3;
getGasPrice
in interface TrezorMessage.EthereumSignTxOrBuilder
public boolean hasGasLimit()
<=256 bit unsigned big endian
optional bytes gas_limit = 4;
hasGasLimit
in interface TrezorMessage.EthereumSignTxOrBuilder
public com.google.protobuf.ByteString getGasLimit()
<=256 bit unsigned big endian
optional bytes gas_limit = 4;
getGasLimit
in interface TrezorMessage.EthereumSignTxOrBuilder
public boolean hasTo()
160 bit address hash
optional bytes to = 5;
hasTo
in interface TrezorMessage.EthereumSignTxOrBuilder
public com.google.protobuf.ByteString getTo()
160 bit address hash
optional bytes to = 5;
getTo
in interface TrezorMessage.EthereumSignTxOrBuilder
public boolean hasValue()
<=256 bit unsigned big endian (in wei)
optional bytes value = 6;
hasValue
in interface TrezorMessage.EthereumSignTxOrBuilder
public com.google.protobuf.ByteString getValue()
<=256 bit unsigned big endian (in wei)
optional bytes value = 6;
getValue
in interface TrezorMessage.EthereumSignTxOrBuilder
public boolean hasDataInitialChunk()
The initial data chunk (<= 1024 bytes)
optional bytes data_initial_chunk = 7;
hasDataInitialChunk
in interface TrezorMessage.EthereumSignTxOrBuilder
public com.google.protobuf.ByteString getDataInitialChunk()
The initial data chunk (<= 1024 bytes)
optional bytes data_initial_chunk = 7;
getDataInitialChunk
in interface TrezorMessage.EthereumSignTxOrBuilder
public boolean hasDataLength()
Length of transaction payload
optional uint32 data_length = 8;
hasDataLength
in interface TrezorMessage.EthereumSignTxOrBuilder
public int getDataLength()
Length of transaction payload
optional uint32 data_length = 8;
getDataLength
in interface TrezorMessage.EthereumSignTxOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static TrezorMessage.EthereumSignTx parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.EthereumSignTx parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.EthereumSignTx parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.EthereumSignTx parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.EthereumSignTx parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.EthereumSignTx parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.EthereumSignTx parseFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.EthereumSignTx parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.EthereumSignTx parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.EthereumSignTx parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.EthereumSignTx parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TrezorMessage.EthereumSignTx parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TrezorMessage.EthereumSignTx.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TrezorMessage.EthereumSignTx.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public TrezorMessage.EthereumSignTx getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2013–2019 Bitcoin Solutions Ltd. All rights reserved.