public static interface Protos.TransactionOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getBlockHash(int index)
A list of blocks in which the transaction has been observed (on any chain).
|
int |
getBlockHashCount()
A list of blocks in which the transaction has been observed (on any chain).
|
java.util.List<com.google.protobuf.ByteString> |
getBlockHashList()
A list of blocks in which the transaction has been observed (on any chain).
|
int |
getBlockRelativityOffsets(int index)
repeated int32 block_relativity_offsets = 11; |
int |
getBlockRelativityOffsetsCount()
repeated int32 block_relativity_offsets = 11; |
java.util.List<java.lang.Integer> |
getBlockRelativityOffsetsList()
repeated int32 block_relativity_offsets = 11; |
Protos.TransactionConfidence |
getConfidence()
Data describing where the transaction is in the chain.
|
Protos.TransactionConfidenceOrBuilder |
getConfidenceOrBuilder()
Data describing where the transaction is in the chain.
|
Protos.ExchangeRate |
getExchangeRate()
Exchange rate that was valid when the transaction was sent.
|
Protos.ExchangeRateOrBuilder |
getExchangeRateOrBuilder()
Exchange rate that was valid when the transaction was sent.
|
com.google.protobuf.ByteString |
getHash()
required bytes hash = 2; |
int |
getLockTime()
The nLockTime field is useful for contracts.
|
java.lang.String |
getMemo()
Memo of the transaction.
|
com.google.protobuf.ByteString |
getMemoBytes()
Memo of the transaction.
|
Protos.Transaction.Pool |
getPool()
If pool is not present, that means either:
- This Transaction is either not in a wallet at all (the proto is re-used elsewhere)
- Or it is stored but for other purposes, for example, because it is the overriding transaction of a double spend.
|
Protos.Transaction.Purpose |
getPurpose()
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN]; |
Protos.TransactionInput |
getTransactionInput(int index)
repeated .wallet.TransactionInput transaction_input = 6; |
int |
getTransactionInputCount()
repeated .wallet.TransactionInput transaction_input = 6; |
java.util.List<Protos.TransactionInput> |
getTransactionInputList()
repeated .wallet.TransactionInput transaction_input = 6; |
Protos.TransactionInputOrBuilder |
getTransactionInputOrBuilder(int index)
repeated .wallet.TransactionInput transaction_input = 6; |
java.util.List<? extends Protos.TransactionInputOrBuilder> |
getTransactionInputOrBuilderList()
repeated .wallet.TransactionInput transaction_input = 6; |
Protos.TransactionOutput |
getTransactionOutput(int index)
repeated .wallet.TransactionOutput transaction_output = 7; |
int |
getTransactionOutputCount()
repeated .wallet.TransactionOutput transaction_output = 7; |
java.util.List<Protos.TransactionOutput> |
getTransactionOutputList()
repeated .wallet.TransactionOutput transaction_output = 7; |
Protos.TransactionOutputOrBuilder |
getTransactionOutputOrBuilder(int index)
repeated .wallet.TransactionOutput transaction_output = 7; |
java.util.List<? extends Protos.TransactionOutputOrBuilder> |
getTransactionOutputOrBuilderList()
repeated .wallet.TransactionOutput transaction_output = 7; |
long |
getUpdatedAt()
millis since epoch the transaction was last updated
|
int |
getVersion()
See Wallet.java for detailed description of pool semantics
|
boolean |
hasConfidence()
Data describing where the transaction is in the chain.
|
boolean |
hasExchangeRate()
Exchange rate that was valid when the transaction was sent.
|
boolean |
hasHash()
required bytes hash = 2; |
boolean |
hasLockTime()
The nLockTime field is useful for contracts.
|
boolean |
hasMemo()
Memo of the transaction.
|
boolean |
hasPool()
If pool is not present, that means either:
- This Transaction is either not in a wallet at all (the proto is re-used elsewhere)
- Or it is stored but for other purposes, for example, because it is the overriding transaction of a double spend.
|
boolean |
hasPurpose()
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN]; |
boolean |
hasUpdatedAt()
millis since epoch the transaction was last updated
|
boolean |
hasVersion()
See Wallet.java for detailed description of pool semantics
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasVersion()
See Wallet.java for detailed description of pool semantics
required int32 version = 1;
int getVersion()
See Wallet.java for detailed description of pool semantics
required int32 version = 1;
boolean hasHash()
required bytes hash = 2;
com.google.protobuf.ByteString getHash()
required bytes hash = 2;
boolean hasPool()
If pool is not present, that means either: - This Transaction is either not in a wallet at all (the proto is re-used elsewhere) - Or it is stored but for other purposes, for example, because it is the overriding transaction of a double spend. - Or the Pool enum got a new value which your software is too old to parse.
optional .wallet.Transaction.Pool pool = 3;
Protos.Transaction.Pool getPool()
If pool is not present, that means either: - This Transaction is either not in a wallet at all (the proto is re-used elsewhere) - Or it is stored but for other purposes, for example, because it is the overriding transaction of a double spend. - Or the Pool enum got a new value which your software is too old to parse.
optional .wallet.Transaction.Pool pool = 3;
boolean hasLockTime()
The nLockTime field is useful for contracts.
optional uint32 lock_time = 4;
int getLockTime()
The nLockTime field is useful for contracts.
optional uint32 lock_time = 4;
boolean hasUpdatedAt()
millis since epoch the transaction was last updated
optional int64 updated_at = 5;
long getUpdatedAt()
millis since epoch the transaction was last updated
optional int64 updated_at = 5;
java.util.List<Protos.TransactionInput> getTransactionInputList()
repeated .wallet.TransactionInput transaction_input = 6;
Protos.TransactionInput getTransactionInput(int index)
repeated .wallet.TransactionInput transaction_input = 6;
int getTransactionInputCount()
repeated .wallet.TransactionInput transaction_input = 6;
java.util.List<? extends Protos.TransactionInputOrBuilder> getTransactionInputOrBuilderList()
repeated .wallet.TransactionInput transaction_input = 6;
Protos.TransactionInputOrBuilder getTransactionInputOrBuilder(int index)
repeated .wallet.TransactionInput transaction_input = 6;
java.util.List<Protos.TransactionOutput> getTransactionOutputList()
repeated .wallet.TransactionOutput transaction_output = 7;
Protos.TransactionOutput getTransactionOutput(int index)
repeated .wallet.TransactionOutput transaction_output = 7;
int getTransactionOutputCount()
repeated .wallet.TransactionOutput transaction_output = 7;
java.util.List<? extends Protos.TransactionOutputOrBuilder> getTransactionOutputOrBuilderList()
repeated .wallet.TransactionOutput transaction_output = 7;
Protos.TransactionOutputOrBuilder getTransactionOutputOrBuilder(int index)
repeated .wallet.TransactionOutput transaction_output = 7;
java.util.List<com.google.protobuf.ByteString> getBlockHashList()
A list of blocks in which the transaction has been observed (on any chain). Also, a number used to disambiguate ordering within a block.
repeated bytes block_hash = 8;
int getBlockHashCount()
A list of blocks in which the transaction has been observed (on any chain). Also, a number used to disambiguate ordering within a block.
repeated bytes block_hash = 8;
com.google.protobuf.ByteString getBlockHash(int index)
A list of blocks in which the transaction has been observed (on any chain). Also, a number used to disambiguate ordering within a block.
repeated bytes block_hash = 8;
java.util.List<java.lang.Integer> getBlockRelativityOffsetsList()
repeated int32 block_relativity_offsets = 11;
int getBlockRelativityOffsetsCount()
repeated int32 block_relativity_offsets = 11;
int getBlockRelativityOffsets(int index)
repeated int32 block_relativity_offsets = 11;
boolean hasConfidence()
Data describing where the transaction is in the chain.
optional .wallet.TransactionConfidence confidence = 9;
Protos.TransactionConfidence getConfidence()
Data describing where the transaction is in the chain.
optional .wallet.TransactionConfidence confidence = 9;
Protos.TransactionConfidenceOrBuilder getConfidenceOrBuilder()
Data describing where the transaction is in the chain.
optional .wallet.TransactionConfidence confidence = 9;
boolean hasPurpose()
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
Protos.Transaction.Purpose getPurpose()
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
boolean hasExchangeRate()
Exchange rate that was valid when the transaction was sent.
optional .wallet.ExchangeRate exchange_rate = 12;
Protos.ExchangeRate getExchangeRate()
Exchange rate that was valid when the transaction was sent.
optional .wallet.ExchangeRate exchange_rate = 12;
Protos.ExchangeRateOrBuilder getExchangeRateOrBuilder()
Exchange rate that was valid when the transaction was sent.
optional .wallet.ExchangeRate exchange_rate = 12;
boolean hasMemo()
Memo of the transaction. It can be used to record the memo of the payment request that initiated the transaction.
optional string memo = 13;
java.lang.String getMemo()
Memo of the transaction. It can be used to record the memo of the payment request that initiated the transaction.
optional string memo = 13;
com.google.protobuf.ByteString getMemoBytes()
Memo of the transaction. It can be used to record the memo of the payment request that initiated the transaction.
optional string memo = 13;