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.

Transaction

Description of a transaction, the unit of activity on Sui.

type Transaction {
digest: String!
effects: TransactionEffects
kind: TransactionKind
expiration: Epoch
gasInput: GasInput
sender: Address
transactionBcs: Base64
signatures: [UserSignature!]!
}

Fields

Transaction.digest ● String! non-null scalar

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

Transaction.effects ● TransactionEffects object

The results to the chain of executing this transaction.

Transaction.kind ● TransactionKind union

The type of this transaction as well as the commands and/or parameters comprising the transaction of this kind.

Transaction.expiration ● Epoch object

This field is set by senders of a transaction block. It is an epoch reference that sets a deadline after which validators will no longer consider the transaction valid. By default, there is no deadline for when a transaction must execute.

Transaction.gasInput ● GasInput object

The gas input field provides information on what objects were used as gas as well as the owner of the gas object(s) and information on the gas price and budget.

Transaction.sender ● Address object

The address corresponding to the public key that signed this transaction. System transactions do not have senders.

Transaction.transactionBcs ● Base64 scalar

The Base64-encoded BCS serialization of this transaction, as a TransactionData.

Transaction.signatures ● [UserSignature!]! non-null object

User signatures for this transaction.

Returned By

multiGetTransactions query ● transaction query

Member Of

Event object ● IObject interface ● MovePackage object ● Object object ● TransactionConnection object ● TransactionEdge object ● TransactionEffects object