SuiSui API Endpoints

sui_tryGetPastObject

Returns object details for a specified version. Note that nodes may prune older versions depending on their configuration, and retrieval is not guaranteed.

Path Parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
object_idstringRequired
The ID of the queried object.
versionintegerRequired
The specific version to query. No default is applied.
optionsobjectOptional
Options to specify which fields are returned in the object.

Response

The response describing the object version if found.
statusstring or null
Status of the lookup, e.g. "VersionFound", "ObjectNotExists".
detailsstring or object or null
Either object details or the object ID if not found.