> For the complete documentation index, see [llms.txt](https://docs.justaname.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.justaname.id/sdk-reference/justaname-core-sdk/interfaces/subnamesconfig.md).

# SubnamesConfig

[**@justaname.id/sdk**](/sdk-reference/justaname-core-sdk.md) • **Docs**

***

[@justaname.id/sdk](/sdk-reference/justaname-core-sdk/globals.md) / SubnamesConfig

## Interface: SubnamesConfig

### Properties

#### apiKey?

> `optional` **apiKey**: `string`

Represents the API key.

**Defined in**

[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L29)

***

#### chainId

> **chainId**: [`ChainId`](/sdk-reference/justaname-core-sdk/type-aliases/chainid.md)

Represents the chainId of the blockchain to be used.

**Defined in**

[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L44)

***

#### dev

> **dev**: `boolean`

**Defined in**

[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L46)

***

#### ensDomains?

> `optional` **ensDomains**: [`EnsDomainByChainId`](/sdk-reference/justaname-core-sdk/interfaces/ensdomainbychainid.md)\[]

Represents the ENS ensDomain.

**Defined in**

[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L39)

***

#### networks

> **networks**: [`NetworksWithProvider`](/sdk-reference/justaname-core-sdk/type-aliases/networkswithprovider.md)

Represents the provider URL.

**Defined in**

[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L34)
