Skip to main content

JavaScript SDK API Reference / Instructions

Instructions

Low-level SPL Name Service and SNS instruction classes.

Classes

ClassDescription
BurnInstructionSerializable registrar instruction for burning a registered domain.
CreateReverseInstructionSerializable registrar instruction for creating a reverse-lookup registry.
CreateSplitV2InstructionSerializable V2 registrar instruction for paid domain registration.
CreateWithNftInstructionSerializable registrar instruction for registration with an eligible NFT.
SetPrimaryInstructionSerializable registrar instruction for setting a wallet primary domain.

Interfaces

InterfaceDescription
AccountKeyAccount metadata used when constructing a Solana transaction instruction.
CreateReverseInstructionParamsInput for creating a reverse-lookup registry.
CreateSplitV2InstructionParamsInput for paid V2 domain registration.
CreateWithNftInstructionParamsInput for registration with an eligible NFT.

Functions

FunctionDescription
createInstructionBuilds an SPL Name Service instruction that creates a name registry account.
deleteInstructionBuilds an SPL Name Service instruction that deletes a name registry account.
reallocInstructionBuilds an SPL Name Service instruction that resizes a name registry account.
transferInstructionBuilds an SPL Name Service instruction that transfers a name registry owner.
updateInstructionBuilds an SPL Name Service instruction that writes bytes to a name registry.