Skip to main content

sui_multiGetObjects RPC Method

Return the object data for a list of objects.

Updated on
Dec 10, 2024

Parameters

object_id
array
REQUIRED

The array of IDs of the queried objects. Maximum of 50 object IDs per request

ObjectDataOptions
object

(Optional) The settings to configure the details returned for an object

showBcs
boolean

Whether to show the content in BCS format. Default is false

showContent
boolean

Whether to show the content (e.g., package content or Move struct content) of the object. Default is false

showDisplay
boolean

Whether to show the Display metadata of the object for frontend rendering. Default is false

showOwner
boolean

Whether to show the owner of the object. Default is false

showPreviousTransaction
boolean

Whether to show the previous transaction digest of the object. Default is false

showStorageRebate
boolean

Whether to show the storage rebate of the object. Default is false

showType
boolean

Whether to show the type of the object. Default is false

Returns

result
array

An array containing the result objects with data details

data
object

Contains information about the object and its metadata

objectId
string

The unique identifier of the object

version
string

The version of the object

digest
string

The digest associated with the object

type
string

The type of the object

owner
object

Details of the owner of the object

AddressOwner
string

The address of the owner

previousTransaction
string

The digest of the previous transaction associated with the object

storageRebate
string

The rebate amount for storage associated with the object

content
object

Details about the object's content

dataType
string

The data type of the content (e.g., moveObject)

type
string

The type of the content object

hasPublicTransfer
boolean

Indicates if the object has public transfer capabilities

fields
object

The fields associated with the content

id
object

The unique identifier field

id
string

The ID of the field

owner
string

The owner field of the content

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free