Package-level declarations
Types
An address-owned object is owned by a specific 32-byte address that is either an account address (derived from a particular signature scheme) or an object ID. An address-owned object is accessible only to its owner and no others.
System transaction for creating the on-chain state used by zkLogin.
System transaction for updating the on-chain state used by zkLogin.
Effects to the balance (sum of coin values per coin type) owned by an address or object.
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.
Checkpoints contain finalized transactions and are used for node synchronization and global transaction ordering.
Filter either by the digest, or the sequence number, or neither, to get the latest checkpoint.
The metadata for a coin type.
Same as AddressOwner, but the object is versioned by consensus.
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.
The set of named templates defined on-chain for the type of this object, to be handled off-chain. The server substitutes data from the object into these templates to generate a display string per template.
Dynamic fields are heterogeneous fields that can be added or removed at runtime, and can have arbitrary user-assigned names. There are two sub-types of dynamic fields:
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.
The result of an execution, including errors that occurred during said execution.
Breakdown of gas costs in effects.
System transaction that initializes the network and writes the initial set of objects on-chain.
The Boolean
scalar type represents true
or false
.
The Float
scalar type represents signed double-precision fractional values as specified by IEEE 754.
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.
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
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.
Interface implemented by all GraphQL types that represent a Move datatype (either structs or enums). This interface is used to provide a way to access fields that are shared by both structs and enums, e.g., the module that the datatype belongs to, the name of the datatype, type parameters etc.
This interface is implemented by types that represent a Move object on-chain (A Move value whose type has key
).
Interface implemented by GraphQL types representing entities that can own objects. Object owners are identified by an address which can represent either the public key of an account or another object. The same address can only refer to an account or an object, never both, but it is not possible to know which up-front.
Abilities are keywords in Sui Move that define how types behave at the compiler level.
Signature of a function, defined in a Move module.
Represents a module in Move, a library that defines struct types and functions that operate on these types.
The representation of an object as a Move Object, which exposes additional information (content, module that governs it, version, is transferrable, etc.) about this object.
A MovePackage is a kind of Move object that represents code that has been published on chain. It exposes information about its modules, type definitions, functions, and dependencies.
Description of a struct type, defined in a Move module.
The shape of a concrete Move Type (a type with all its type parameters instantiated with concrete types), corresponding to the following recursive type:
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:
The visibility modifier describes which modules can access this module member. By default, a module member can be called only within the same module.
Effect on an individual Object (keyed by its ID).
Constrains the set of objects returned. All filters are optional, and the resulting set of objects are ones whose
The object's owner type: Immutable, Shared, Parent, Address, or ConsensusAddress.
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.
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:
An Owner is an entity that can own an object. Each Owner is identified by a SuiAddress which represents either an Address (corresponding to a public key of an account) or an Object, but never both (it is not known up-front whether a given Owner is an Address or an Object).
ProgrammableSystemTransactionBlock is identical to ProgrammableTransactionBlock, but graphql does not allow multiple variants with the same type.
A user transaction that allows the interleaving of native commands (like transfer, split coins, merge coins, etc) and move calls, executed atomically.
A single protocol configuration value.
Whether or not a single feature is enabled in the protocol config.
Constants that control how the chain operates.
System transaction to update the source of on-chain randomness.
The stake's possible status: active, pending, or unstaked.
Parameters that control the distribution of the stake subsidy.
SUI set aside to account for objects stored on-chain.
String containing 32B 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).
Details of the system that are decided during genesis.
An argument to a programmable transaction command.
The effects representing the result of executing a transaction block.
The kind of transaction block, either a programmable transaction or a system transaction.
An input filter selecting for either system or programmable transactions.
The optional extra data a user can provide to a transaction dry run. sender
defaults to 0x0
. If gasObjects
is not present, or is an empty list, it is substituted with a mock Coin object, gasPrice
defaults to the reference gas price, gasBudget
defaults to the max gas budget and gasSponsor
defaults to the sender.
The credentials related fields associated with a validator.
Representation of 0x3::validator_set::ValidatorSet
.