Skip to main content

JS Kit SDK API Reference / Instructions / BurnDomainInstruction

Class: BurnDomainInstruction

Defined in: instructions/burnDomainInstruction.ts:5

Builder for burning an SNS domain NFT and registry account.

Constructors

Constructor

new BurnDomainInstruction(): BurnDomainInstruction

Defined in: instructions/burnDomainInstruction.ts:15

Returns

BurnDomainInstruction

Properties

tag

tag: number

Defined in: instructions/burnDomainInstruction.ts:7

Instruction discriminator.


schema

static schema: object

Defined in: instructions/burnDomainInstruction.ts:9

struct

struct: object

struct.tag

tag: string = "u8"

Methods

getInstruction()

getInstruction(programAddress, nameServiceId, systemProgram, domainAddress, reverse, resellingState, state, centralState, owner, target): Instruction

Defined in: instructions/burnDomainInstruction.ts:23

Parameters

programAddress

Address

nameServiceId

Address

systemProgram

Address

domainAddress

Address

reverse

Address

resellingState

Address

state

Address

centralState

Address

owner

Address

target

Address

Returns

Instruction


serialize()

serialize(): Uint8Array

Defined in: instructions/burnDomainInstruction.ts:19

Returns

Uint8Array