Skip to main content

JS Kit SDK API Reference / Instructions

Instructions

Low-level SNS instruction classes and instruction helpers.

Classes​

ClassDescription
AllocateAndPostRecordInstructionBuilder for allocating and writing an SNS V2 record account.
BurnDomainInstructionBuilder for burning an SNS domain NFT and registry account.
CreateNameRegistryInstructionBuilder for creating an SNS name-registry account.
CreateReverseInstructionBuilder for creating an SNS reverse-lookup account.
CreateSplitV2InstructionBuilder for creating a split SNS V2 domain account.
CreateWithNftInstructionBuilder for registering an SNS domain backed by an NFT.
DeleteNameRegistryInstructionBuilder for deleting an SNS name-registry account.
DeleteRecordInstructionBuilder for deleting an SNS V2 record account.
ReallocInstructionBuilder for reallocating an SNS name-registry account.
RegisterPrimaryInstructionBuilder for registering an address's SNS primary domain.
SetRecordRoaVerifierInstructionBuilder for setting an SNS record's Right of Association verifier.
TransferInstructionBuilder for the SNS name-registry transfer instruction.
UpdateNameRegistryInstructionBuilder for updating the data of an SNS name-registry account.
UpdateRecordInstructionBuilder for updating content in an SNS V2 record account.
ValidateEthereumSignatureInstructionBuilder for validating an Ethereum signature for an SNS record.
ValidateSolanaSignatureInstructionBuilder for validating a Solana signature for an SNS record.

Interfaces​

InterfaceDescription
AllocateAndPostRecordInstructionParamsInput for allocating and writing an SNS V2 record.
CreateNameRegistryInstructionParamsInput for creating an SNS name-registry account.
CreateReverseInstructionParamsInput for creating an SNS reverse-lookup account.
CreateSplitV2InstructionParamsInput for creating a split SNS V2 domain account.
CreateWithNftInstructionParamsInput for registering an SNS domain backed by an NFT.
ReallocInstructionParamsInput for reallocating an SNS name-registry account.
SetRecordRoaVerifierInstructionParamsInput for setting an SNS record's Right of Association verifier.
TransferInstructionParamsInput for transferring an SNS name-registry account.
UpdateNameRegistryInstructionParamsInput for updating an SNS name-registry account.
UpdateRecordInstructionParamsInput for updating an SNS V2 record account.
ValidateEthereumSignatureInstructionParamsInput for validating an Ethereum signature for an SNS record.
ValidateSolanaSignatureInstructionParamsInput for validating a Solana signature for an SNS record.

Functions​

FunctionDescription
_createAtaIdempotentInstructionCreates an idempotent associated-token-account instruction.