Object
An object in Sui is a package (set of Move bytecode modules) or object (typed data structure with fields) with additional metadata detailing its id, version, transaction digest, owner field indicating how this object can be accessed.
type Object implements IObject, IOwner {
address: SuiAddress!
objects(
first: Int
after: String
last: Int
before: String
filter: ObjectFilter
): MoveObjectConnection!
balance(
type: String
): Balance
balances(
first: Int
after: String
last: Int
before: String
): BalanceConnection!
coins(
first: Int
after: String
last: Int
before: String
type: String
): CoinConnection!
stakedSuis(
first: Int
after: String
last: Int
before: String
): StakedSuiConnection!
defaultSuinsName(
format: DomainFormat
): String
suinsRegistrations(
first: Int
after: String
last: Int
before: String
): SuinsRegistrationConnection!
version: UInt53!
status: ObjectKind!
digest: String
owner: ObjectOwner
previousTransactionBlock: TransactionBlock
storageRebate: BigInt
receivedTransactionBlocks(
first: Int
after: String
last: Int
before: String
filter: TransactionBlockFilter
scanLimit: Int
): TransactionBlockConnection!
bcs: Base64
display: [DisplayEntry!]
dynamicField(
name: DynamicFieldName!
): DynamicField
dynamicObjectField(
name: DynamicFieldName!
): DynamicField
dynamicFields(
first: Int
after: String
last: Int
before: String
): DynamicFieldConnection!
asMoveObject: MoveObject
asMovePackage: MovePackage
}
Fields
Object.address ● SuiAddress! non-null scalar
Object.objects ● MoveObjectConnection! non-null object
Objects owned by this object, optionally filter-ed.
Object.objects.first ● Int scalar
Object.objects.after ● String scalar
Object.objects.last ● Int scalar
Object.objects.before ● String scalar
Object.objects.filter ● ObjectFilter input
Object.balance ● Balance object
Total balance of all coins with marker type owned by this object. If type is not supplied,
it defaults to 0x2::sui::SUI.
Object.balance.type ● String scalar
Object.balances ● BalanceConnection! non-null object
The balances of all coin types owned by this object.
Object.balances.first ● Int scalar
Object.balances.after ● String scalar
Object.balances.last ● Int scalar
Object.balances.before ● String scalar
Object.coins ● CoinConnection! non-null object
The coin objects for this object.
type is a filter on the coin's type parameter, defaulting to 0x2::sui::SUI.
Object.coins.first ● Int scalar
Object.coins.after ● String scalar
Object.coins.last ● Int scalar
Object.coins.before ● String scalar
Object.coins.type ● String scalar
Object.stakedSuis ● StakedSuiConnection! non-null object
The 0x3::staking_pool::StakedSui objects owned by this object.
Object.stakedSuis.first ● Int scalar
Object.stakedSuis.after ● String scalar
Object.stakedSuis.last ● Int scalar
Object.stakedSuis.before ● String scalar
Object.defaultSuinsName ● String scalar
The domain explicitly configured as the default domain pointing to this object.