MoveObject
A MoveObject is a kind of Object that reprsents data stored on-chain.
type MoveObject implements Node, IAddressable, IMoveObject, IObject {
address: SuiAddress!
addressAt(
rootVersion: UInt53
checkpoint: UInt53
): Address
asCoinMetadata: CoinMetadata
asDynamicField: DynamicField
balance(
coinType: String!
): Balance
balances(
first: Int
after: String
last: Int
before: String
): BalanceConnection
contents: MoveValue
defaultNameRecord: NameRecord
digest: String
dynamicField(
name: DynamicFieldName!
): DynamicField
dynamicFields(
first: Int
after: String
last: Int
before: String
): DynamicFieldConnection
dynamicObjectField(
name: DynamicFieldName!
): DynamicField
hasPublicTransfer: Boolean
id: ID!
moveObjectBcs: Base64
multiGetBalances(
keys: [String!]!
): [Balance!]
multiGetDynamicFields(
keys: [DynamicFieldName!]!
): [DynamicField]!
multiGetDynamicObjectFields(
keys: [DynamicFieldName!]!
): [DynamicField]!
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
owner: Owner
previousTransaction: Transaction
receivedTransactions(
first: Int
after: String
last: Int
before: String
filter: TransactionFilter
): TransactionConnection
storageRebate: BigInt
version: UInt53
}
Fields
MoveObject.address ● SuiAddress! non-null scalar
The MoveObject's ID.
MoveObject.addressAt ● Address object
Fetch the address as it was at a different root version, or checkpoint.
If no additional bound is provided, the address is fetched at the latest checkpoint known to the RPC.
MoveObject.addressAt.rootVersion ● UInt53 scalar
MoveObject.addressAt.checkpoint ● UInt53 scalar
MoveObject.asCoinMetadata ● CoinMetadata object
Attempts to convert the object into a CoinMetadata.
MoveObject.asDynamicField ● DynamicField object
Attempts to convert the object into a DynamicField.
MoveObject.balance ● Balance object
Fetch the total balance for coins with marker type coinType (e.g. 0x2::sui::SUI), owned by this address.
If the address does not own any coins of that type, a balance of zero is returned.
MoveObject.balance.coinType ● String! non-null scalar
MoveObject.balances ● BalanceConnection object
Total balance across coins owned by this address, grouped by coin type.
MoveObject.balances.first ● Int scalar
MoveObject.balances.after ● String scalar
MoveObject.balances.last ● Int scalar
MoveObject.balances.before ● String scalar
MoveObject.contents ● MoveValue object
The structured representation of the object's contents.
MoveObject.defaultNameRecord ● NameRecord object
The domain explicitly configured as the default Name Service name for this address.
MoveObject.digest ● String scalar
32-byte hash that identifies the object's contents, encoded in Base58.