Skip to main content

JS Kit SDK API Reference / Instructions / DeleteRecordInstruction

Class: DeleteRecordInstruction

Defined in: instructions/deleteRecordInstruction.ts:5

Builder for deleting an SNS V2 record account.

Constructors​

Constructor​

new DeleteRecordInstruction(): DeleteRecordInstruction

Defined in: instructions/deleteRecordInstruction.ts:15

Returns​

DeleteRecordInstruction

Properties​

tag​

tag: number

Defined in: instructions/deleteRecordInstruction.ts:7

Instruction discriminator.


schema​

static schema: object

Defined in: instructions/deleteRecordInstruction.ts:9

struct​

struct: object

struct.tag​

tag: string = "u8"

Methods​

getInstruction()​

getInstruction(programAddress, systemProgram, splNameServiceProgram, payer, record, domainAddress, domainOwner, centralState): Instruction

Defined in: instructions/deleteRecordInstruction.ts:23

Parameters​

programAddress​

Address

systemProgram​

Address

splNameServiceProgram​

Address

payer​

Address

record​

Address

domainAddress​

Address

domainOwner​

Address

centralState​

Address

Returns​

Instruction


serialize()​

serialize(): Uint8Array

Defined in: instructions/deleteRecordInstruction.ts:19

Returns​

Uint8Array