resolveNameServiceNames

abstract suspend fun resolveNameServiceNames(address: AccountAddress, limit: Int? = null, cursor: String? = null): Result<ResolveNameServiceNamesQuery.Data?, SuiError>

Performs a reverse lookup to find all .sui domain names associated with a given address.

Return

A Result which is either:

  • Ok: Containing a nullable ResolveNameServiceNamesQuery.Data object with a list of names and a pagination cursor.

  • Err: Containing a SuiError object with a list of GraphQLErrors.

Parameters

address

The AccountAddress to find the associated domain names for.

limit

An optional integer to specify the maximum number of names to return per page.

cursor

An optional cursor string for pagination.