Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::TransactionAttempt.
The state of an attempted transaction submission.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#proof_of_inclusion
def proof_of_inclusion() -> ::Google::Cloud::UniversalLedger::V1::ProofOfInclusion
Returns
-
(::Google::Cloud::UniversalLedger::V1::ProofOfInclusion) — Output only. Certificate of the inclusion of the transaction effects in the
world state. Only provided if status is
FINALIZED.
#status
def status() -> ::Google::Cloud::UniversalLedger::V1::TransactionAttempt::TransactionStatus
Returns
- (::Google::Cloud::UniversalLedger::V1::TransactionAttempt::TransactionStatus) — Output only. The current status of the transaction attempt.
#status_events
def status_events() -> ::Array<::Google::Cloud::UniversalLedger::V1::StatusEvent>
Returns
- (::Array<::Google::Cloud::UniversalLedger::V1::StatusEvent>) — Output only. The ordered status events recorded for the transaction attempt.