Skip to main content

JavaScript SDK API Reference / Address

Address

Wallet ownership, primary-domain, and wallet-domain lookup APIs.

Classes

ClassDescription
PrimaryDomainDeserialized primary-domain account and its address derivation helpers.

Interfaces

InterfaceDescription
PrimaryDomainParamsInput for decoding a primary-domain account.
SnsDomainA directly registry-owned top-level SNS domain.
SnsNftA tokenized SNS domain and its associated NFT mint.

Variables

VariableDescription
NAME_OFFERS_IDProgram ID that stores wallet primary-domain selections.

Functions

FunctionDescription
getMultiplePrimaryDomainsRetrieves primary domain names for multiple wallets, up to a maximum of 100.
getPrimaryDomainRetrieves the primary domain set for a wallet.
getSnsDomainKeysForOwnerRetrieves top-level .sns domain accounts owned by a wallet.
getSnsDomainsForOwnerRetrieves directly registry-owned top-level .sns domains for a wallet.
getSnsNftsForOwnerRetrieves tokenized .sns domains owned by a wallet.