public static interface Protos.TransactionOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getBlockHash(int index)
repeated bytes block_hash = 8; |
int |
getBlockHashCount()
repeated bytes block_hash = 8; |
List<com.google.protobuf.ByteString> |
getBlockHashList()
repeated bytes block_hash = 8; |
int |
getBlockRelativityOffsets(int index)
repeated int32 block_relativity_offsets = 11; |
int |
getBlockRelativityOffsetsCount()
repeated int32 block_relativity_offsets = 11; |
List<Integer> |
getBlockRelativityOffsetsList()
repeated int32 block_relativity_offsets = 11; |
Protos.TransactionConfidence |
getConfidence()
optional .wallet.TransactionConfidence confidence = 9; |
Protos.TransactionConfidenceOrBuilder |
getConfidenceOrBuilder()
optional .wallet.TransactionConfidence confidence = 9; |
Protos.ExchangeRate |
getExchangeRate()
optional .wallet.ExchangeRate exchange_rate = 12; |
Protos.ExchangeRateOrBuilder |
getExchangeRateOrBuilder()
optional .wallet.ExchangeRate exchange_rate = 12; |
com.google.protobuf.ByteString |
getHash()
required bytes hash = 2; |
int |
getLockTime()
optional uint32 lock_time = 4; |
String |
getMemo()
optional string memo = 13; |
com.google.protobuf.ByteString |
getMemoBytes()
optional string memo = 13; |
Protos.Transaction.Pool |
getPool()
optional .wallet.Transaction.Pool pool = 3; |
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; |
List<Protos.TransactionInput> |
getTransactionInputList()
repeated .wallet.TransactionInput transaction_input = 6; |
Protos.TransactionInputOrBuilder |
getTransactionInputOrBuilder(int index)
repeated .wallet.TransactionInput transaction_input = 6; |
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; |
List<Protos.TransactionOutput> |
getTransactionOutputList()
repeated .wallet.TransactionOutput transaction_output = 7; |
Protos.TransactionOutputOrBuilder |
getTransactionOutputOrBuilder(int index)
repeated .wallet.TransactionOutput transaction_output = 7; |
List<? extends Protos.TransactionOutputOrBuilder> |
getTransactionOutputOrBuilderList()
repeated .wallet.TransactionOutput transaction_output = 7; |
long |
getUpdatedAt()
optional int64 updated_at = 5; |
int |
getVersion()
required int32 version = 1; |
boolean |
hasConfidence()
optional .wallet.TransactionConfidence confidence = 9; |
boolean |
hasExchangeRate()
optional .wallet.ExchangeRate exchange_rate = 12; |
boolean |
hasHash()
required bytes hash = 2; |
boolean |
hasLockTime()
optional uint32 lock_time = 4; |
boolean |
hasMemo()
optional string memo = 13; |
boolean |
hasPool()
optional .wallet.Transaction.Pool pool = 3; |
boolean |
hasPurpose()
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN]; |
boolean |
hasUpdatedAt()
optional int64 updated_at = 5; |
boolean |
hasVersion()
required int32 version = 1; |
boolean hasVersion()
required int32 version = 1;
See Wallet.java for detailed description of pool semantics
int getVersion()
required int32 version = 1;
See Wallet.java for detailed description of pool semantics
boolean hasHash()
required bytes hash = 2;
com.google.protobuf.ByteString getHash()
required bytes hash = 2;
boolean hasPool()
optional .wallet.Transaction.Pool pool = 3;
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.
Protos.Transaction.Pool getPool()
optional .wallet.Transaction.Pool pool = 3;
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.
boolean hasLockTime()
optional uint32 lock_time = 4;
The nLockTime field is useful for contracts.
int getLockTime()
optional uint32 lock_time = 4;
The nLockTime field is useful for contracts.
boolean hasUpdatedAt()
optional int64 updated_at = 5;
millis since epoch the transaction was last updated
long getUpdatedAt()
optional int64 updated_at = 5;
millis since epoch the transaction was last updated
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;
List<? extends Protos.TransactionInputOrBuilder> getTransactionInputOrBuilderList()
repeated .wallet.TransactionInput transaction_input = 6;
Protos.TransactionInputOrBuilder getTransactionInputOrBuilder(int index)
repeated .wallet.TransactionInput transaction_input = 6;
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;
List<? extends Protos.TransactionOutputOrBuilder> getTransactionOutputOrBuilderList()
repeated .wallet.TransactionOutput transaction_output = 7;
Protos.TransactionOutputOrBuilder getTransactionOutputOrBuilder(int index)
repeated .wallet.TransactionOutput transaction_output = 7;
List<com.google.protobuf.ByteString> getBlockHashList()
repeated bytes block_hash = 8;
A list of blocks in which the transaction has been observed (on any chain). Also, a number used to disambiguate ordering within a block.
int getBlockHashCount()
repeated bytes block_hash = 8;
A list of blocks in which the transaction has been observed (on any chain). Also, a number used to disambiguate ordering within a block.
com.google.protobuf.ByteString getBlockHash(int index)
repeated bytes block_hash = 8;
A list of blocks in which the transaction has been observed (on any chain). Also, a number used to disambiguate ordering within a block.
List<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()
optional .wallet.TransactionConfidence confidence = 9;
Data describing where the transaction is in the chain.
Protos.TransactionConfidence getConfidence()
optional .wallet.TransactionConfidence confidence = 9;
Data describing where the transaction is in the chain.
Protos.TransactionConfidenceOrBuilder getConfidenceOrBuilder()
optional .wallet.TransactionConfidence confidence = 9;
Data describing where the transaction is in the chain.
boolean hasPurpose()
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
Protos.Transaction.Purpose getPurpose()
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
boolean hasExchangeRate()
optional .wallet.ExchangeRate exchange_rate = 12;
Exchange rate that was valid when the transaction was sent.
Protos.ExchangeRate getExchangeRate()
optional .wallet.ExchangeRate exchange_rate = 12;
Exchange rate that was valid when the transaction was sent.
Protos.ExchangeRateOrBuilder getExchangeRateOrBuilder()
optional .wallet.ExchangeRate exchange_rate = 12;
Exchange rate that was valid when the transaction was sent.
boolean hasMemo()
optional string memo = 13;
Memo of the transaction. It can be used to record the memo of the payment request that initiated the transaction.
String getMemo()
optional string memo = 13;
Memo of the transaction. It can be used to record the memo of the payment request that initiated the transaction.
com.google.protobuf.ByteString getMemoBytes()
optional string memo = 13;
Memo of the transaction. It can be used to record the memo of the payment request that initiated the transaction.
Copyright © 2014. All rights reserved.