Skip to main content

GrpcExecutedTransaction

GrpcExecutedTransaction​

struct GrpcExecutedTransaction

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.

init(digest:transaction:signatures:effectsDigest:effects:eventsDigest:events:checkpoint:timestampMs:inputObjects:outputObjects:)​

init(digest: TransactionDigest?, transaction: Transaction?, signatures: [UserSignature]?, effectsDigest: TransactionEffectsDigest?, effects: TransactionEffects?, eventsDigest: TransactionEventsDigest?, events: TransactionEvents?, checkpoint: UInt64?, timestampMs: UInt64?, inputObjects: [Object]?, outputObjects: [Object]?)

checkpoint​

var checkpoint: UInt64?

The sequence number of the checkpoint that includes the transaction.

digest​

var digest: TransactionDigest?

The digest of the transaction.

effects​

var effects: TransactionEffects?

The effects of the transaction.

effectsDigest​

var effectsDigest: TransactionEffectsDigest?

The digest of the transaction effects.

events​

var events: TransactionEvents?

The events emitted by the transaction, if any.

eventsDigest​

var eventsDigest: TransactionEventsDigest?

The digest of the transaction events.

inputObjects​

var inputObjects: [Object]?

The input objects used by the transaction.

outputObjects​

var outputObjects: [Object]?

The output objects produced by the transaction.

signatures​

var signatures: [UserSignature]?

The user signatures that authorized the execution of the transaction.

timestampMs​

var timestampMs: UInt64?

Unix timestamp in milliseconds of the checkpoint that includes the transaction.

transaction​

var transaction: Transaction?

The transaction itself.