Skip to main content

JS Kit SDK API Reference / Instructions / SetRecordRoaVerifierInstruction

Class: SetRecordRoaVerifierInstruction

Defined in: instructions/setRecordRoaVerifierInstruction.ts:26

Builder for setting an SNS record's Right of Association verifier.

Constructors

Constructor

new SetRecordRoaVerifierInstruction(obj): SetRecordRoaVerifierInstruction

Defined in: instructions/setRecordRoaVerifierInstruction.ts:39

Parameters

obj

SetRecordRoaVerifierInstructionParams

Returns

SetRecordRoaVerifierInstruction

Properties

roaId

roaId: ReadonlyUint8Array

Defined in: instructions/setRecordRoaVerifierInstruction.ts:30

Encoded verifier address.


tag

tag: number

Defined in: instructions/setRecordRoaVerifierInstruction.ts:28

Instruction discriminator.


schema

static schema: object

Defined in: instructions/setRecordRoaVerifierInstruction.ts:32

struct

struct: object

struct.roaId

roaId: object

struct.roaId.array

array: object

struct.roaId.array.type

type: string = "u8"

struct.tag

tag: string = "u8"

Methods

getInstruction()

getInstruction(programAddress, systemProgram, splNameServiceProgram, feePayer, record, domain, domainOwner, centralState): Instruction

Defined in: instructions/setRecordRoaVerifierInstruction.ts:48

Parameters

programAddress

Address

systemProgram

Address

splNameServiceProgram

Address

feePayer

Address

record

Address

domain

Address

domainOwner

Address

centralState

Address

Returns

Instruction


serialize()

serialize(): Uint8Array

Defined in: instructions/setRecordRoaVerifierInstruction.ts:44

Returns

Uint8Array