Interface Commit
- All Superinterfaces:
Signable
- All Known Subinterfaces:
SubmittedTransaction
Allows access to information about a transaction that is committed to the ledger.
-
Method Summary
Modifier and TypeMethodDescriptiondefault StatusGet the status of the committed transaction.getStatus(UnaryOperator<CallOptions> options) Get the status of the committed transaction.default StatusgetStatus(CallOption... options) Deprecated.Get the transaction ID.
-
Method Details
-
getTransactionId
-
getStatus
Get the status of the committed transaction. If the transaction has not yet committed, this method blocks until the commit occurs.- Returns:
- Transaction commit status.
- Throws:
CommitStatusException- if the gRPC service invocation fails.
-
getStatus
Get the status of the committed transaction. If the transaction has not yet committed, this method blocks until the commit occurs.- Parameters:
options- Function that transforms call options.- Returns:
- Transaction commit status.
- Throws:
CommitStatusException- if the gRPC service invocation fails.
-
getStatus
Deprecated.Replaced bygetStatus(UnaryOperator).Get the status of the committed transaction. If the transaction has not yet committed, this method blocks until the commit occurs.- Parameters:
options- Call options.- Returns:
- Transaction commit status.
- Throws:
CommitStatusException- if the gRPC service invocation fails.
-
getStatus(UnaryOperator).