> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# suix_resolveNameServiceNames

> Return the resolved names given address, if multiple names are resolved, the first one is the primary name.

### Parameters

<ParamField query="chainId" type="string" default="sui" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="suix_resolveNameServiceNames" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={["0x5cd6fa76ed1d18f05f15e35075252ddec4fb83621d55952d9172fcfcb72feae2","0xd22bbb46f892c42d9ec0ae4de93e02c75973a51c17180798237326a58694a2cf",3]} placeholder="[&#x22;0x5cd6fa76ed1d18f05f15e35075252ddec4fb83621d55952d9172fcfcb72feae2&#x22;,&#x22;0xd22bbb46f892c42d9ec0ae4de93e02c75973a51c17180798237326a58694a2cf&#x22;,3]" required>
  Parameters for suix\_resolveNameServiceNames: \[address, cursor, limit]. The address is required. The cursor is an optional paging cursor (ObjectID) and limit is an optional unsigned integer.

  Positional parameters for <code>suix\_resolveNameServiceNames</code>:

  <ul>
    <li><code>params\[0]</code>: The address to resolve names for, as a SuiAddress (base-58 encoded).</li>
    <li><code>params\[1]</code>: Optional paging cursor (ObjectID). If provided, the query will start from the item after this cursor.</li>
    <li><code>params\[2]</code>: Maximum number of items per page (uint). Defaults to QUERY\_MAX\_RESULT\_LIMIT if not specified.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  A page of resolved names for the specified address, with pagination information. If next\_cursor is provided, reading with that cursor will start from the item after it; if null, the first page is returned.

  <Expandable title="properties">
    <ResponseField name="data" type="array">
      An array of resolved names (strings).

      <Expandable title="items">
        <ResponseField name="items[]" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="hasNextPage" type="boolean">
      Indicates whether there are more pages available.
    </ResponseField>

    <ResponseField name="nextCursor" type="oneOf">
      The paging cursor for the next page, or null if there are no additional pages.

      <Expandable title="variants">
        <ResponseField name="variant1" type="string" />

        <ResponseField name="variant2" type="string" />
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=sui \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "suix_resolveNameServiceNames",
      "params": [
        "0x5cd6fa76ed1d18f05f15e35075252ddec4fb83621d55952d9172fcfcb72feae2",
        "0xd22bbb46f892c42d9ec0ae4de93e02c75973a51c17180798237326a58694a2cf",
        3
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
      "data": [
        "example.sui"
      ],
      "nextCursor": "0xd22bbb46f892c42d9ec0ae4de93e02c75973a51c17180798237326a58694a2cf",
      "hasNextPage": false
    }
  }
  ```
</ResponseExample>
