JS Kit SDK API Reference / Instructions / CreateReverseInstruction
Class: CreateReverseInstruction
Defined in: instructions/createReverseInstruction.ts:18
Builder for creating an SNS reverse-lookup account.
Constructors
Constructor
new CreateReverseInstruction(
obj):CreateReverseInstruction
Defined in: instructions/createReverseInstruction.ts:30
Parameters
obj
CreateReverseInstructionParams
Returns
CreateReverseInstruction
Properties
domain
domain:
string
Defined in: instructions/createReverseInstruction.ts:22
Raw reverse lookup payload.
tag
tag:
number
Defined in: instructions/createReverseInstruction.ts:20
Instruction discriminator.
schema
staticschema:object
Defined in: instructions/createReverseInstruction.ts:23
struct
struct:
object
struct.domain
domain:
string="string"
struct.tag
tag:
string="u8"
Methods
getInstruction()
getInstruction(
programAddress,namingServiceProgram,rootDomain,reverseLookup,systemProgram,centralState,payer,rentSysvar,parentAddress?,parentOwner?):Instruction
Defined in: instructions/createReverseInstruction.ts:39
Parameters
programAddress
Address
namingServiceProgram
Address
rootDomain
Address
reverseLookup
Address
systemProgram
Address
centralState
Address
payer
Address
rentSysvar
Address
parentAddress?
Address
parentOwner?
Address
Returns
Instruction
serialize()
serialize():
Uint8Array
Defined in: instructions/createReverseInstruction.ts:35
Returns
Uint8Array