Skip to main content
⚠️ This is the beta version of the Sui GraphQL schema. The beta schema will replace the alpha GraphQL schema upon its official release.

TransactionEffects

The results of executing a transaction.

type TransactionEffects {
digest: String!
transaction: Transaction
checkpoint: Checkpoint
status: ExecutionStatus
lamportVersion: UInt53
executionError: ExecutionError
timestamp: DateTime
epoch: Epoch
events(
first: Int
after: String
last: Int
before: String
): EventConnection
balanceChanges(
first: Int
after: String
last: Int
before: String
): BalanceChangeConnection
effectsBcs: Base64
effectsDigest: String
objectChanges(
first: Int
after: String
last: Int
before: String
): ObjectChangeConnection
gasEffects: GasEffects
unchangedConsensusObjects(
first: Int
after: String
last: Int
before: String
): UnchangedConsensusObjectConnection
dependencies(
first: Int
after: String
last: Int
before: String
): TransactionConnection
}

Fields

TransactionEffects.digest ● String! non-null scalar

A 32-byte hash that uniquely identifies the transaction contents, encoded in Base58.

Note that this is different from the execution digest, which is the unique hash of the transaction effects.

TransactionEffects.transaction ● Transaction object

The transaction that ran to produce these effects.

TransactionEffects.checkpoint ● Checkpoint object

The checkpoint this transaction was finalized in.

TransactionEffects.status ● ExecutionStatus enum

Whether the transaction executed successfully or not.

TransactionEffects.lamportVersion ● UInt53 scalar

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

TransactionEffects.executionError ● ExecutionError object

Rich execution error information for failed transactions.

TransactionEffects.timestamp ● DateTime scalar

Timestamp corresponding to the checkpoint this transaction was finalized in.

TransactionEffects.epoch ● Epoch object

The epoch this transaction was finalized in.

TransactionEffects.events ● EventConnection object

Events emitted by this transaction.

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

TransactionEffects.balanceChanges ● BalanceChangeConnection object

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

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

TransactionEffects.effectsBcs ● Base64 scalar

The Base64-encoded BCS serialization of these effects, as TransactionEffects.

TransactionEffects.effectsDigest ● String scalar

A 32-byte hash that uniquely identifies the effects contents, encoded in Base58.

TransactionEffects.objectChanges ● ObjectChangeConnection object

The before and after state of objects that were modified by this transaction.

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

TransactionEffects.gasEffects ● GasEffects object

Effects related to the gas object used for the transaction (costs incurred and the identity of the smashed gas object returned).

TransactionEffects.unchangedConsensusObjects ● UnchangedConsensusObjectConnection object

The unchanged consensus-managed objects that were referenced by this transaction.

TransactionEffects.unchangedConsensusObjects.first ● Int scalar
TransactionEffects.unchangedConsensusObjects.after ● String scalar
TransactionEffects.unchangedConsensusObjects.last ● Int scalar
TransactionEffects.unchangedConsensusObjects.before ● String scalar

TransactionEffects.dependencies ● TransactionConnection object

Transactions whose outputs this transaction depends upon.

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

Returned By

multiGetTransactionEffects query ● transactionEffects query

Member Of

Transaction object