sui_getObject

Return the object information for a specified object

Parameters:

object_id< ObjectID > - The ID of the queried object

options< ObjectDataOptions > - Options for specifying the content to be returned

Returns:

SuiObjectResponse< SuiObjectResponse >

Example:

// Request
curl  https://sui.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" 
--data 
'{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sui_getObject",
  "params": [
    "0x75eb1006f1e73fea9c467ddce8bf6aa7efa350bc59ea9197e2ec47e599d94dd2",
    {
      "showType": true,
      "showOwner": true,
      "showPreviousTransaction": true,
      "showDisplay": false,
      "showContent": true,
      "showBcs": false,