Package-level declarations

Types

Link copied to clipboard

System transaction for creating the accumulator root.

Link copied to clipboard
class Address
Link copied to clipboard

Object is exclusively owned by a single address, and is mutable.

Link copied to clipboard

System transaction for creating the on-chain state used by zkLogin.

Link copied to clipboard

System transaction that is executed at the end of an epoch to expire JSON Web Keys (JWKs) that are no longer valid, based on their associated epoch. This is part of the on-chain state management for zkLogin and authentication.

Link copied to clipboard
class Balance

The total balance for a particular coin type.

Link copied to clipboard

Effects to the balance (sum of coin values per coin type) of addresses and objects.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Base64

String containing Base64-encoded binary data.

Link copied to clipboard
class BigInt

String representation of an arbitrary width, possibly signed integer

Link copied to clipboard

System transaction for initializing bridge committee.

Link copied to clipboard

System transaction for creating bridge state for cross-chain operations.

Link copied to clipboard

A system transaction that updates epoch information on-chain (increments the current epoch). Executed by the system once per epoch, without using gas. Epoch change transactions cannot be submitted by users, because validators will refuse to sign them.

Link copied to clipboard

Checkpoints contain finalized transactions and are used for node synchronization and global transaction ordering.

Link copied to clipboard
Link copied to clipboard

System transaction for creating the coin deny list state.

Link copied to clipboard

An object representing metadata about a coin type.

Link copied to clipboard

System transaction for creating the coin registry.

Link copied to clipboard

A value produced or modified during command execution.

Link copied to clipboard

The intermediate results for each command of a transaction simulation.

Link copied to clipboard

Object is exclusively owned by a single adderss and sequenced via consensus.

Link copied to clipboard

System transaction that runs at the beginning of a checkpoint, and is responsible for setting the current value of the clock, based on the timestamp from consensus.

Link copied to clipboard
class DateTime

ISO-8601 Date and Time: RFC3339 in UTC with format: YYYY-MM-DDTHH:MM:SS.mmmZ. Note that the milliseconds part is optional, and it may be omitted if its value is 0.

Link copied to clipboard
class Display

A rendered JSON blob based on an on-chain template.

Link copied to clipboard

Dynamic fields are heterogenous fields that can be added or removed from an object at runtime. Their names are arbitrary Move values that have copy, drop, and store.

Link copied to clipboard
Link copied to clipboard
data class DynamicFieldName(val type: String, val bcs: Any)

A description of a dynamic field's name.

Link copied to clipboard

The value of a dynamic field (MoveValue) or dynamic object field (MoveObject).

Link copied to clipboard

System transaction that supersedes ChangeEpochTransaction as the new way to run transactions at the end of an epoch. Behaves similarly to ChangeEpochTransaction but can accommodate other optional transactions to run at the end of the epoch.

Link copied to clipboard
Link copied to clipboard
class Epoch

Activity on Sui is partitioned in time, into epochs.

Link copied to clipboard
class Event
Link copied to clipboard
Link copied to clipboard
data class EventFilter(val afterCheckpoint: Optional<Any?> = Optional.Absent, val atCheckpoint: Optional<Any?> = Optional.Absent, val beforeCheckpoint: Optional<Any?> = Optional.Absent, val sender: Optional<Any?> = Optional.Absent, val module: Optional<String?> = Optional.Absent, val type: Optional<String?> = Optional.Absent)
Link copied to clipboard

Represents execution error information for failed transactions.

Link copied to clipboard

The execution result of a transaction, including the transaction effects and any potential errors due to signing or quorum-driving.

Link copied to clipboard

The execution status of this transaction: success or failure.

Link copied to clipboard

A boolean protocol configuration.

Link copied to clipboard
class GasCoin

Access to the gas inputs, after they have been smashed into one coin. The gas coin can only be used by reference, except for with TransferObjectsTransaction that can accept it by value.

Link copied to clipboard

Summary of charges from transactions.

Link copied to clipboard

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

Link copied to clipboard

System transaction that initializes the network and writes the initial set of objects on-chain.

Link copied to clipboard

The Boolean scalar type represents true or false.

Link copied to clipboard

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Link copied to clipboard
class GraphQLID

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Link copied to clipboard

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Link copied to clipboard

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Link copied to clipboard

Interface implemented by GraphQL types representing entities that are identified by an address.

Link copied to clipboard
class Immutable

Object is accessible to all addresses, and is immutable.

Link copied to clipboard

Interface implemented by all GraphQL types that represent a Move datatype definition (either a struct or an enum definition).

Link copied to clipboard

Interface implemented by types that represent a Move object on-chain (A Move value whose type has key).

Link copied to clipboard
class Input
Link copied to clipboard
class IObject

Interface implemented by versioned on-chain values that are addressable by an ID (also referred to as its address). This includes Move objects and packages.

Link copied to clipboard
class JSON

Arbitrary JSON data.

Link copied to clipboard

Abilities are keywords in Sui Move that define how types behave at the compiler level.

Link copied to clipboard

Declaration of a type parameter on a Move struct.

Link copied to clipboard
class MoveEnum

Description of an enum type, defined in a Move module.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class MoveField
Link copied to clipboard

A function defined in a Move module.

Link copied to clipboard
Link copied to clipboard

Declaration of a type parameter on a Move function.

Link copied to clipboard

Modules are a unit of code organization in Move.

Link copied to clipboard
Link copied to clipboard

A MoveObject is a kind of Object that reprsents data stored on-chain.

Link copied to clipboard
Link copied to clipboard

A MovePackage is a kind of Object that represents code that has been published on-chain. It exposes information about its modules, type definitions, functions, and dependencies.

Link copied to clipboard

Description of a struct type, defined in a Move module.

Link copied to clipboard
Link copied to clipboard
class MoveType

Represents instances of concrete types (no type parameters, no references).

Link copied to clipboard

The shape of a concrete Move Type (a type with all its type parameters instantiated with concrete types), corresponding to the following recursive type:

Link copied to clipboard

The signature of a concrete Move Type (a type with all its type parameters instantiated with concrete types, that contains no references), corresponding to the following recursive type:

Link copied to clipboard
class MoveValue
Link copied to clipboard

The visibility modifier describes which modules can access this module member.

Link copied to clipboard
class Mutation

Mutations are used to write to the Sui network.

Link copied to clipboard
class Object

An Object on Sui is either a typed value (a Move Object) or a Package (modules containing functions and types).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ObjectFilter(val ownerKind: Optional<OwnerKind?> = Optional.Absent, val owner: Optional<Any?> = Optional.Absent, val type: Optional<String?> = Optional.Absent)

A filter over the live object set, the filter can be one of:

Link copied to clipboard
data class ObjectKey(val address: Any, val version: Optional<Any?> = Optional.Absent, val rootVersion: Optional<Any?> = Optional.Absent, val atCheckpoint: Optional<Any?> = Optional.Absent)

Identifies a specific version of an object.

Link copied to clipboard

Object is exclusively owned by a single object, and is mutable. Note that the owning object may be inaccessible because it is wrapped.

Link copied to clipboard

Represents types that could contain references or free type parameters. Such types can appear as function parameters, in fields of structs, or as actual type parameter.

Link copied to clipboard

The shape of an abstract Move Type (a type that can contain free type parameters, and can optionally be taken by reference), corresponding to the following recursive type:

Link copied to clipboard
class Owner

The object's owner kind.

Link copied to clipboard

Filter on who owns an object.

Link copied to clipboard
class PageInfo

Information about pagination in a connection

Link copied to clipboard

ProgrammableSystemTransaction is identical to ProgrammableTransaction, but GraphQL does not allow multiple variants with the same type.

Link copied to clipboard
Link copied to clipboard

A protocol configuration that can hold an arbitrary value (or no value at all).

Link copied to clipboard

Constants that control how the chain operates.

Link copied to clipboard
class Query
Link copied to clipboard

System transaction for creating the on-chain randomness state.

Link copied to clipboard

System transaction to update the source of on-chain randomness.

Link copied to clipboard
class SafeMode
Link copied to clipboard
class Shared

Object is shared, can be used by any address, and is mutable.

Link copied to clipboard

The result of simulating a transaction, including the predicted effects, events, and any errors.

Link copied to clipboard

Parameters that control the distribution of the stake subsidy.

Link copied to clipboard

SUI set aside to account for objects stored on-chain.

System transaction for storing execution time observations.

Link copied to clipboard

String containing 32 byte hex-encoded address, with a leading '0x'. Leading zeroes can be omitted on input but will always appear in outputs (SuiAddress in output is guaranteed to be 66 characters long).

Link copied to clipboard

Details of the system that are decided during genesis.

Link copied to clipboard

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

Link copied to clipboard

An argument to a programmable transaction command.

Link copied to clipboard
Link copied to clipboard

The results of executing a transaction.

Link copied to clipboard
data class TransactionFilter(val afterCheckpoint: Optional<Any?> = Optional.Absent, val atCheckpoint: Optional<Any?> = Optional.Absent, val beforeCheckpoint: Optional<Any?> = Optional.Absent, val function: Optional<String?> = Optional.Absent, val kind: Optional<TransactionKindInput?> = Optional.Absent, val affectedAddress: Optional<Any?> = Optional.Absent, val affectedObject: Optional<Any?> = Optional.Absent, val sentAddress: Optional<Any?> = Optional.Absent)
Link copied to clipboard

Different types of transactions that can be executed on the Sui network.

Link copied to clipboard

An input filter selecting for either system or programmable transactions.

Link copied to clipboard
class TxResult

The result of another command.

Link copied to clipboard
class UInt53

An unsigned integer that can hold values up to 2^53 - 1. This can be treated similarly to Int, but it is guaranteed to be non-negative, and it may be larger than 2^32 - 1.

Link copied to clipboard
Link copied to clipboard
class Validator
Link copied to clipboard
Link copied to clipboard

The credentials related fields associated with a validator.

Link copied to clipboard

Representation of 0x3::validator_set::ValidatorSet.