Skip to main content

GrpcExecutedTransaction

data class GrpcExecutedTransaction(var digest: TransactionDigest?, var transaction: Transaction?, var signatures: List<UserSignature>?, var effectsDigest: TransactionEffectsDigest?, var effects: TransactionEffects?, var eventsDigest: TransactionEventsDigest?, var events: TransactionEvents?, var checkpoint: ULong?, var timestampMs: ULong?, var inputObjects: List<Object>?, var outputObjects: List<Object>?) : Disposable

A transaction that has been executed, along with its signatures, effects, events and objects.

The transaction, effects, events, and input/output object fields are deserialized from BCS, so the read mask must include the matching GrpcTransactionField (TransactionBcs, EffectsBcs, EventsEventsBcs, InputObjectsBcs, OutputObjectsBcs), or its GrpcCheckpointResponseField / GrpcSimulateField counterpart, for them to be populated; digest-only read masks populate only the digest fields.

Constructors​

GrpcExecutedTransactionconstructor(digest: TransactionDigest?, transaction: Transaction?, signatures: List<UserSignature>?, effectsDigest: TransactionEffectsDigest?, effects: TransactionEffects?, eventsDigest: TransactionEventsDigest?, events: TransactionEvents?, checkpoint: ULong?, timestampMs: ULong?, inputObjects: List<Object>?, outputObjects: List<Object>?)

Properties​

NameSummary
checkpointvar checkpoint: ULong?
The sequence number of the checkpoint that includes the transaction.
digestvar digest: TransactionDigest?
The digest of the transaction.
effectsvar effects: TransactionEffects?
The effects of the transaction.
effectsDigestvar effectsDigest: TransactionEffectsDigest?
The digest of the transaction effects.
eventsvar events: TransactionEvents?
The events emitted by the transaction, if any.
eventsDigestvar eventsDigest: TransactionEventsDigest?
The digest of the transaction events.
inputObjectsvar inputObjects: List<Object>?
The input objects used by the transaction.
outputObjectsvar outputObjects: List<Object>?
The output objects produced by the transaction.
signaturesvar signatures: List<UserSignature>?
The user signatures that authorized the execution of the transaction.
timestampMsvar timestampMs: ULong?
Unix timestamp in milliseconds of the checkpoint that includes the transaction.
transactionvar transaction: Transaction?
The transaction itself.

Functions​

NameSummary
destroyopen override fun destroy()