Sns

interface Sns

Defines the API for interacting with the Sui Name Service (SNS).

This interface provides methods for resolving .sui domain names to addresses and performing reverse lookups to find names associated with an address.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun resolveNameServiceAddress(domain: String): Result<ResolveNameServiceAddressQuery.Data?, SuiError>

Resolves a .sui domain name to its corresponding Sui address.

Link copied to clipboard
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.