Skip to main content

JS Kit SDK API Reference / Instructions / DeleteNameRegistryInstruction

Class: DeleteNameRegistryInstruction

Defined in: instructions/deleteNameRegistryInstruction.ts:5

Builder for deleting an SNS name-registry account.

Constructors​

Constructor​

new DeleteNameRegistryInstruction(): DeleteNameRegistryInstruction

Defined in: instructions/deleteNameRegistryInstruction.ts:15

Returns​

DeleteNameRegistryInstruction

Properties​

tag​

tag: number

Defined in: instructions/deleteNameRegistryInstruction.ts:7

Instruction discriminator.


schema​

static schema: object

Defined in: instructions/deleteNameRegistryInstruction.ts:9

struct​

struct: object

struct.tag​

tag: string = "u8"

Methods​

getInstruction()​

getInstruction(programAddress, domainAddress, refundTarget, owner): Instruction

Defined in: instructions/deleteNameRegistryInstruction.ts:23

Parameters​

programAddress​

Address

domainAddress​

Address

refundTarget​

Address

owner​

Address

Returns​

Instruction


serialize()​

serialize(): Uint8Array

Defined in: instructions/deleteNameRegistryInstruction.ts:19

Returns​

Uint8Array