Skip to content

@aldea/sdk / Exports / instructions / LoadByOriginInstruction

Class: LoadByOriginInstruction

instructions.LoadByOriginInstruction

Load By Id Instruction.

Loads an instance by the given Jig Id.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new LoadByOriginInstruction(origin): LoadByOriginInstruction

Parameters

NameType
originUint8Array

Returns

LoadByOriginInstruction

Overrides

Instruction.constructor

Defined in

packages/core/dist/instructions/loadbyorigin.d.ts:9

Properties

opcode

opcode: OpCode

Inherited from

Instruction.opcode

Defined in

packages/core/dist/instruction.d.ts:26


origin

origin: Uint8Array

Defined in

packages/core/dist/instructions/loadbyorigin.d.ts:8

Methods

toBytes

toBytes(): Uint8Array

Returns

Uint8Array

Inherited from

Instruction.toBytes

Defined in

packages/core/dist/instruction.d.ts:29


fromBytes

fromBytes(bytes): Instruction

Parameters

NameType
bytesUint8Array

Returns

Instruction

Inherited from

Instruction.fromBytes

Defined in

packages/core/dist/instruction.d.ts:28