JavaScript SDK API Reference / Address
Address
Wallet ownership, primary-domain, and wallet-domain lookup APIs.
Classes
| Class | Description |
|---|---|
| PrimaryDomain | Deserialized primary-domain account and its address derivation helpers. |
Interfaces
| Interface | Description |
|---|---|
| PrimaryDomainParams | Input for decoding a primary-domain account. |
| SnsDomain | A directly registry-owned top-level SNS domain. |
| SnsNft | A tokenized SNS domain and its associated NFT mint. |
Variables
| Variable | Description |
|---|---|
| NAME_OFFERS_ID | Program ID that stores wallet primary-domain selections. |
Functions
| Function | Description |
|---|---|
| getMultiplePrimaryDomains | Retrieves primary domain names for multiple wallets, up to a maximum of 100. |
| getPrimaryDomain | Retrieves the primary domain set for a wallet. |
| getSnsDomainKeysForOwner | Retrieves top-level .sns domain accounts owned by a wallet. |
| getSnsDomainsForOwner | Retrieves directly registry-owned top-level .sns domains for a wallet. |
| getSnsNftsForOwner | Retrieves tokenized .sns domains owned by a wallet. |