Skip to main content

Transaction

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

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

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.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.kind ● TransactionKind union

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

Transaction.sender ● Address object

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

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

User signatures for this transaction.

Transaction.transactionBcs ● Base64 scalar

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

Returned By

multiGetTransactions query ● transaction query

Member Of

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