Package-level declarations

Types

Link copied to clipboard
data class AptosName(val domain: String, val subdomain: String? = null)

Validated Aptos Name Service name, without the optional .apt suffix.

Link copied to clipboard
sealed interface NameExpirationPolicy

Expiration behavior for ANS registration.

Link copied to clipboard
data class NameRecord(val name: AptosName, val expiration: Instant?, val domainExpiration: Instant?, val isActive: Boolean?, val isPrimary: Boolean?, val lastTransactionVersion: ULong?, val owner: AccountAddress?, val registeredAddress: AccountAddress?, val subdomainExpirationPolicy: ULong?, val tokenName: String?, val tokenStandard: String?)

Stable public ANS row; Apollo-generated response classes stay internal.

Link copied to clipboard
interface NameService

Aptos Name Service operations exposed as client.names.