MoveObject
A MoveObject is a kind of Object that reprsents data stored on-chain.
type MoveObject implements IAddressable, IObject, IMoveObject {
address: SuiAddress!
contents: MoveValue
digest: String!
moveObjectBcs: Base64
objectAt(
version: UInt53
rootVersion: UInt53
checkpoint: UInt53
): Object
objectBcs: Base64
objectVersionsAfter(
first: Int
after: String
last: Int
before: String
filter: VersionFilter
): ObjectConnection!
objectVersionsBefore(
first: Int
after: String
last: Int
before: String
filter: VersionFilter
): ObjectConnection!
objects(
first: Int
after: String
last: Int
before: String
filter: ObjectFilter
): MoveObjectConnection
previousTransaction: Transaction
version: UInt53!
}
Fields
MoveObject.address
● SuiAddress!
non-null scalar
The MoveObject's ID.
MoveObject.contents
● MoveValue
object
The structured representation of the object's contents.
MoveObject.digest
● String!
non-null scalar
32-byte hash that identifies the object's contents, encoded in Base58.
MoveObject.moveObjectBcs
● Base64
scalar
The Base64-encoded BCS serialize of this object, as a MoveObject
.
MoveObject.objectAt
● Object
object
Fetch the object with the same ID, at a different version, root version bound, or checkpoint.
If no additional bound is provided, the latest version of this object is fetched at the latest checkpoint.
MoveObject.objectAt.version
● UInt53
scalar
MoveObject.objectAt.rootVersion
● UInt53
scalar
MoveObject.objectAt.checkpoint
● UInt53
scalar
MoveObject.objectBcs
● Base64
scalar
The Base64-encoded BCS serialization of this object, as an Object
.
MoveObject.objectVersionsAfter
● ObjectConnection!
non-null object
Paginate all versions of this object after this one.
MoveObject.objectVersionsAfter.first
● Int
scalar
MoveObject.objectVersionsAfter.after
● String
scalar
MoveObject.objectVersionsAfter.last
● Int
scalar
MoveObject.objectVersionsAfter.before
● String
scalar
MoveObject.objectVersionsAfter.filter
● VersionFilter
input
MoveObject.objectVersionsBefore
● ObjectConnection!
non-null object
Paginate all versions of this object before this one.
MoveObject.objectVersionsBefore.first
● Int
scalar
MoveObject.objectVersionsBefore.after
● String
scalar
MoveObject.objectVersionsBefore.last
● Int
scalar
MoveObject.objectVersionsBefore.before
● String
scalar
MoveObject.objectVersionsBefore.filter
● VersionFilter
input
MoveObject.objects
● MoveObjectConnection
object
Objects owned by this object, optionally filtered by type.
MoveObject.objects.first
● Int
scalar
MoveObject.objects.after
● String
scalar
MoveObject.objects.last
● Int
scalar
MoveObject.objects.before
● String
scalar
MoveObject.objects.filter
● ObjectFilter
input
MoveObject.previousTransaction
● Transaction
object
The transaction that created this version of the object.
MoveObject.version
● UInt53!
non-null scalar
The version of this object that this content comes from.
Interfaces
IAddressable
interface
Interface implemented by GraphQL types representing entities that are identified by an address.
An address uniquely represents either the public key of an account, or an object's ID, but never both. It is not possible to determine which type an address represents up-front. If an object is wrapped, its contents will not be accessible via its address, but it will still be possible to access other objects it owns.
IObject
interface
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.
IMoveObject
interface
Interface implemented by types that represent a Move object on-chain (A Move value whose type has key
).
Member Of
MoveObjectConnection
object ● MoveObjectEdge
object ● Object
object