SuiSui API Endpoints

sui_getObject

Fetches on-chain data for a single object using its object ID. You can control the level of detail returned by passing additional options like showing content, type, or owner.

Path parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
object_idstringRequired
The ID of the queried object.
optionsobjectOptional
Options for specifying the content to be returned.

Response

The result containing object data or error information.
dataobject or null
errorobject or null
Error details if the object could not be retrieved.