Skip to main content

TransactionBlockEffects

The effects representing the result of executing a transaction block.

type TransactionBlockEffects {
transactionBlock: TransactionBlock
status: ExecutionStatus
lamportVersion: UInt53!
errors: String
dependencies(
first: Int
after: String
last: Int
before: String
): DependencyConnection!
gasEffects: GasEffects
unchangedSharedObjects(
first: Int
after: String
last: Int
before: String
): UnchangedSharedObjectConnection!
objectChanges(
first: Int
after: String
last: Int
before: String
): ObjectChangeConnection!
balanceChanges(
first: Int
after: String
last: Int
before: String
): BalanceChangeConnection!
events(
first: Int
after: String
last: Int
before: String
): EventConnection!
timestamp: DateTime
epoch: Epoch
checkpoint: Checkpoint
bcs: Base64!
}

Fields

TransactionBlockEffects.transactionBlock ● TransactionBlock object

The transaction that ran to produce these effects.

TransactionBlockEffects.status ● ExecutionStatus enum

Whether the transaction executed successfully or not.

TransactionBlockEffects.lamportVersion ● UInt53! non-null scalar

The latest version of all objects (apart from packages) that have been created or modified by this transaction, immediately following this transaction.

TransactionBlockEffects.errors ● String scalar

The reason for a transaction failure, if it did fail. If the error is a Move abort, the error message will be resolved to a human-readable form if possible, otherwise it will fall back to displaying the abort code and location.

TransactionBlockEffects.dependencies ● DependencyConnection! non-null object

Transactions whose outputs this transaction depends upon.

TransactionBlockEffects.dependencies.first ● Int scalar
TransactionBlockEffects.dependencies.after ● String scalar
TransactionBlockEffects.dependencies.last ● Int scalar
TransactionBlockEffects.dependencies.before ● String scalar

TransactionBlockEffects.gasEffects ● GasEffects object

Effects to the gas object.

TransactionBlockEffects.unchangedSharedObjects ● UnchangedSharedObjectConnection! non-null object

Shared objects that are referenced by but not changed by this transaction.

TransactionBlockEffects.unchangedSharedObjects.first ● Int scalar
TransactionBlockEffects.unchangedSharedObjects.after ● String scalar
TransactionBlockEffects.unchangedSharedObjects.last ● Int scalar
TransactionBlockEffects.unchangedSharedObjects.before ● String scalar

TransactionBlockEffects.objectChanges ● ObjectChangeConnection! non-null object

The effect this transaction had on objects on-chain.

TransactionBlockEffects.objectChanges.first ● Int scalar
TransactionBlockEffects.objectChanges.after ● String scalar
TransactionBlockEffects.objectChanges.last ● Int scalar
TransactionBlockEffects.objectChanges.before ● String scalar

TransactionBlockEffects.balanceChanges ● BalanceChangeConnection! non-null object

The effect this transaction had on the balances (sum of coin values per coin type) of addresses and objects.

TransactionBlockEffects.balanceChanges.first ● Int scalar
TransactionBlockEffects.balanceChanges.after ● String scalar
TransactionBlockEffects.balanceChanges.last ● Int scalar
TransactionBlockEffects.balanceChanges.before ● String scalar

TransactionBlockEffects.events ● EventConnection! non-null object

Events emitted by this transaction block.

TransactionBlockEffects.events.first ● Int scalar
TransactionBlockEffects.events.after ● String scalar
TransactionBlockEffects.events.last ● Int scalar
TransactionBlockEffects.events.before ● String scalar

TransactionBlockEffects.timestamp ● DateTime scalar

Timestamp corresponding to the checkpoint this transaction was finalized in.

TransactionBlockEffects.epoch ● Epoch object

The epoch this transaction was finalized in.

TransactionBlockEffects.checkpoint ● Checkpoint object

The checkpoint this transaction was finalized in.

TransactionBlockEffects.bcs ● Base64! non-null scalar

Base64 encoded bcs serialization of the on-chain transaction effects.

Member Of

ExecutionResult object ● TransactionBlock object