BatchGetObjects - Efficient Bulk Object Retrieval
Retrieve multiple Sui objects in a single gRPC request for maximum efficiency. Learn how to use BatchGetObjects to minimize latency and optimize blockchain data fetching with Dwellir's Sui infrastructure.
Sui RPC endpoint: endpoint URLs, plans and pricing.
Retrieve multiple Sui objects in a single gRPC request for maximum efficiency. Learn how to use BatchGetObjects to minimize latency and optimize blockchain data fetching with Dwellir's Sui infrastructure.
Method Signature
- Service:
sui.rpc.v2.LedgerService - Method:
BatchGetObjects - Type: Unary RPC
grpcurl \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"requests": [
{
"object_id": "0x5"
},
{
"object_id": "0x6"
}
],
"read_mask": {
"paths": [
"object_id",
"version"
]
}
}' \
api-sui-mainnet-full.n.dwellir.com:443 \
sui.rpc.v2.LedgerService/BatchGetObjectsUsage notes
The response preserves request order. A successful RPC can contain per-item errors; inspect every result.