Skip to main content

Interface: SubnameAddRequest

Defines the request structure for adding a subname under an ENS domain, including specifications for blockchain interaction.

SubnameAddRequest

Hierarchy

Properties

addresses

Optional addresses: Address[]

Optional. Ethereum addresses associated with the subname.

Defined in

lib/types/subnames/add.ts:54


chainId

chainId: number

The chain ID of the Ethereum blockchain where the operation takes place.

Defined in

lib/types/subnames/add.ts:52


contentHash

Optional contentHash: string

Optional. A content hash representing associated data.

Defined in

lib/types/subnames/add.ts:58


ensDomain

ensDomain: string

The ENS domain under which the subname is added.

Defined in

lib/types/subnames/add.ts:50


text

Optional text: TextRecord[]

Optional. Text records for additional data associated with the subname.

Defined in

lib/types/subnames/add.ts:56


username

username: string

The subname to be added.

Defined in

lib/types/subnames/add.ts:48