getObject

Asynchronously retrieves an object with the given objectId using the SUI API, with the specified options.

Return

a suspended ObjectResponse containing the retrieved object data.

Parameters

objectId

the ID of the object to retrieve.

options

additional options to control the object data returned.

Throws

if the API request fails or returns an error response.