GetObject - Retrieve Sui Object Data via gRPC
Retrieve detailed Sui blockchain object information using the gRPC GetObject method. Access object metadata, ownership, version history, and contents with high-performance binary serialization through Dwellir's infrastructure.
Sui RPC endpoint: endpoint URLs, plans and pricing.
Retrieve detailed Sui blockchain object information using the gRPC GetObject method. Access object metadata, ownership, version history, and contents with high-performance binary serialization through Dwellir's infrastructure.
Method Signature
- Service:
sui.rpc.v2.LedgerService - Method:
GetObject - Type: Unary RPC
grpcurl \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"object_id": "0x5",
"read_mask": {
"paths": [
"object_id",
"version",
"object_type"
]
}
}' \
api-sui-mainnet-full.n.dwellir.com:443 \
sui.rpc.v2.LedgerService/GetObjectUsage notes
The response wraps the selected fields in object. Versioned reads can fail after object history is pruned.
Historical data is limited by node retention. Check lowest_available_checkpoint and lowest_available_checkpoint_objects with GetServiceInfo. Use an archival source when data has been pruned.
Related resources
GetEpoch
Retrieve Sui epoch information via gRPC including validators, stake distribution, and timing. Essential for staking applications and network monitoring with Dwellir.
GetTransaction
Retrieve comprehensive Sui transaction details via gRPC including effects, events, and state changes. Perfect for transaction verification and blockchain analytics with Dwellir.