Skip to main content

JS Kit SDK API Reference / Instructions / CreateNameRegistryInstructionParams

Interface: CreateNameRegistryInstructionParams

Defined in: instructions/createNameRegistryInstruction.ts:14

Input for creating an SNS name-registry account.

Example

const params: CreateNameRegistryInstructionParams = { nameHash, lamports, space: 32 };

Properties

lamports

lamports: bigint

Defined in: instructions/createNameRegistryInstruction.ts:18

Account funding amount.


nameHash

nameHash: Uint8Array

Defined in: instructions/createNameRegistryInstruction.ts:16

Hash of the registry name.


space

space: number

Defined in: instructions/createNameRegistryInstruction.ts:20

Account data size in bytes.