Skip to main content

JavaScript SDK API Reference / Domain / SnsDomainKey

Interface: SnsDomainKey

Defined in: utils/getSnsDomainKeySync.ts:29

A derived SNS domain account and its parent metadata.

Example

const result: SnsDomainKey = getSnsDomainKeySync("example");

Properties

hashed

hashed: Buffer

Defined in: utils/getSnsDomainKeySync.ts:33

Hash used to derive the account address.


isSub

isSub: boolean

Defined in: utils/getSnsDomainKeySync.ts:35

Whether the input is a subdomain or subdomain record.


isSubRecord?

optional isSubRecord?: boolean

Defined in: utils/getSnsDomainKeySync.ts:39

Whether the input is a subdomain record.


parent?

optional parent?: PublicKey

Defined in: utils/getSnsDomainKeySync.ts:37

Parent domain account address for subdomains.


pubkey

pubkey: PublicKey

Defined in: utils/getSnsDomainKeySync.ts:31

Derived SNS account address.