JS Kit SDK API Reference / Instructions
Instructions
Low-level SNS instruction classes and instruction helpers.
Classes
| Class | Description |
|---|---|
| AllocateAndPostRecordInstruction | Builder for allocating and writing an SNS V2 record account. |
| BurnDomainInstruction | Builder for burning an SNS domain NFT and registry account. |
| CreateNameRegistryInstruction | Builder for creating an SNS name-registry account. |
| CreateReverseInstruction | Builder for creating an SNS reverse-lookup account. |
| CreateSplitV2Instruction | Builder for creating a split SNS V2 domain account. |
| CreateWithNftInstruction | Builder for registering an SNS domain backed by an NFT. |
| DeleteNameRegistryInstruction | Builder for deleting an SNS name-registry account. |
| DeleteRecordInstruction | Builder for deleting an SNS V2 record account. |
| ReallocInstruction | Builder for reallocating an SNS name-registry account. |
| RegisterPrimaryInstruction | Builder for registering an address's SNS primary domain. |
| SetRecordRoaVerifierInstruction | Builder for setting an SNS record's Right of Association verifier. |
| TransferInstruction | Builder for the SNS name-registry transfer instruction. |
| UpdateNameRegistryInstruction | Builder for updating the data of an SNS name-registry account. |
| UpdateRecordInstruction | Builder for updating content in an SNS V2 record account. |
| ValidateEthereumSignatureInstruction | Builder for validating an Ethereum signature for an SNS record. |
| ValidateSolanaSignatureInstruction | Builder for validating a Solana signature for an SNS record. |
Interfaces
| Interface | Description |
|---|---|
| AllocateAndPostRecordInstructionParams | Input for allocating and writing an SNS V2 record. |
| CreateNameRegistryInstructionParams | Input for creating an SNS name-registry account. |
| CreateReverseInstructionParams | Input for creating an SNS reverse-lookup account. |
| CreateSplitV2InstructionParams | Input for creating a split SNS V2 domain account. |
| CreateWithNftInstructionParams | Input for registering an SNS domain backed by an NFT. |
| ReallocInstructionParams | Input for reallocating an SNS name-registry account. |
| SetRecordRoaVerifierInstructionParams | Input for setting an SNS record's Right of Association verifier. |
| TransferInstructionParams | Input for transferring an SNS name-registry account. |
| UpdateNameRegistryInstructionParams | Input for updating an SNS name-registry account. |
| UpdateRecordInstructionParams | Input for updating an SNS V2 record account. |
| ValidateEthereumSignatureInstructionParams | Input for validating an Ethereum signature for an SNS record. |
| ValidateSolanaSignatureInstructionParams | Input for validating a Solana signature for an SNS record. |
Functions
| Function | Description |
|---|---|
| _createAtaIdempotentInstruction | Creates an idempotent associated-token-account instruction. |