sui_get_object
Fetch the current state of a Sui object by ID, including owner, type, version, digest, and Move contents. Returns results from live node or archive with automatic fallback.
Instructions
Fetch a Sui object's current state by object id. Returns the object's owner, type, version, digest, previous-transaction pointer, and Move contents (BCS). Use for any 'what is object 0x...' question — bypass GraphQL for single-object reads. By default routes 'auto': tries the live full node, falls back to the Archival Service if live has expired this version. The trace records the fallback chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_id | Yes | 0x-prefixed Sui object id (1 to 64 hex chars after 0x). | |
| version | No | Optional historical version (Lamport). When provided, returns that specific version. Note: object versions are not +1 monotonic — if you need a prior version, fetch the current object then walk back through `previous_transaction` to find the input_version of the object in that transaction's effects.changed_objects. | |
| source | No | Routing policy. 'auto' (default) tries live then falls back to archive on retention boundary. 'live' / 'archive' force a single endpoint when you have specific reasons (e.g. you know the version is old, or you're benchmarking). | |
| network | No | Sui network. Defaults to the server's configured default (usually mainnet). |