JS Kit SDK API Reference / Instructions / ReallocInstruction
Class: ReallocInstruction
Defined in: instructions/reallocInstruction.ts:18
Builder for reallocating an SNS name-registry account.
Constructors
Constructor
new ReallocInstruction(
obj):ReallocInstruction
Defined in: instructions/reallocInstruction.ts:31
Parameters
obj
Returns
ReallocInstruction
Properties
space
space:
number
Defined in: instructions/reallocInstruction.ts:22
New account data size in bytes.
tag
tag:
number
Defined in: instructions/reallocInstruction.ts:20
Instruction discriminator.
schema
staticschema:object
Defined in: instructions/reallocInstruction.ts:24
struct
struct:
object
struct.space
space:
string="u32"
struct.tag
tag:
string="u8"
Methods
getInstruction()
getInstruction(
programAddress,systemProgramId,payerKey,nameAccountKey,nameOwnerKey):Instruction
Defined in: instructions/reallocInstruction.ts:40
Parameters
programAddress
Address
systemProgramId
Address
payerKey
Address
nameAccountKey
Address
nameOwnerKey
Address
Returns
Instruction
serialize()
serialize():
Uint8Array
Defined in: instructions/reallocInstruction.ts:36
Returns
Uint8Array