public static interface TransactionService.GetTransactionResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getConfirmations()
The number of confirmations for the transaction.
|
TransactionService.HistoryItem |
getItem()
Present when state == State::SUCCESS.
|
long |
getSlot()
Non-zero when state == State::SUCCESS
|
TransactionService.GetTransactionResponse.State |
getState()
The state of the transaction.
|
int |
getStateValue()
The state of the transaction.
|
boolean |
hasItem()
Present when state == State::SUCCESS.
|
int getStateValue()
The state of the transaction. The states are the same as SubmitTransaction, with the exception of UNKNOWN, which indicates that the system does not have a record of the transaction. This can occur if the transaction is still pending or if it has failed. If the transaction state is UNKNOWN for an extended period of time, it is likely that it was dropped. As a result, clients should limit the total times GetTransaction is called for a an UNKNOWN transaction.
.kin.agora.transaction.v4.GetTransactionResponse.State state = 1;TransactionService.GetTransactionResponse.State getState()
The state of the transaction. The states are the same as SubmitTransaction, with the exception of UNKNOWN, which indicates that the system does not have a record of the transaction. This can occur if the transaction is still pending or if it has failed. If the transaction state is UNKNOWN for an extended period of time, it is likely that it was dropped. As a result, clients should limit the total times GetTransaction is called for a an UNKNOWN transaction.
.kin.agora.transaction.v4.GetTransactionResponse.State state = 1;long getSlot()
Non-zero when state == State::SUCCESS
uint64 slot = 2;int getConfirmations()
The number of confirmations for the transaction. The value is irrelevant when state != State::PENDING.
uint32 confirmations = 3;boolean hasItem()
Present when state == State::SUCCESS. May or may not be present in other cases.
.kin.agora.transaction.v4.HistoryItem item = 4;TransactionService.HistoryItem getItem()
Present when state == State::SUCCESS. May or may not be present in other cases.
.kin.agora.transaction.v4.HistoryItem item = 4;