Skip to main content

BatchGetObjects gRPC Method

Retrieves multiple objects from the network.

Updated on
Jun 17, 2025

BatchGetObjects gRPC Method

Parameters

object_ids
array
REQUIRED
Array of object IDs to retrieve
read_mask
object
Field mask specifying which fields of the checkpoint to include in the response.
paths
array
List of field names to include (e.g., 'bcs', 'object_id' etc).

Returns

objects
array
An array of objects retrieved from the network, each representing a snapshot of the specified object state.
bcs
object
The BCS (Binary Canonical Serialization) representation of the object.
value
string
The base64-encoded BCS-serialized value of the object.
objectId
string
The unique identifier of the object on the network.
version
string
The version number of the object, incremented with each mutation.
digest
string
The cryptographic digest representing the object’s state at this version.
owner
object
Details about the ownership of the object.
kind
string
The kind of ownership, e.g., `AddressOwner`, `ObjectOwner`, `Shared`, or `Immutable`.
version
string
The version of the ownership structure, used primarily for shared or dynamic objects.
objectType
string
The type of the object, often defined as a Move module struct (e.g., `0x2::coin::Coin`).
hasPublicTransfer
boolean
Indicates whether the object supports public transfers without custom authorization logic.
contents
object
The deserialized contents of the object based on its type definition.
name
string
The name field from the object's content structure, if present.
value
string
The value associated with the content's name, representing the object's data.
previousTransaction
string
The transaction digest that last mutated or created this object.
storageRebate
string
The amount of gas storage rebate (in MIST) that can be reclaimed from deleting this object.
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free