@aldea/sdk / Exports / instructions / SignToInstruction
Class: SignToInstruction
instructions.SignToInstruction
Sign To Instruction.
The given signature and pubkey signs the transaction instructions before this instruction.
Hierarchy
↳
SignToInstruction
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new SignToInstruction(sig
, pubkey
): SignToInstruction
Parameters
Name | Type |
---|---|
sig | Uint8Array |
pubkey | Uint8Array |
Returns
Overrides
Defined in
packages/core/dist/instructions/signto.d.ts:11
Properties
opcode
• opcode: OpCode
Inherited from
Defined in
packages/core/dist/instruction.d.ts:26
pubkey
• pubkey: Uint8Array
Defined in
packages/core/dist/instructions/signto.d.ts:10
sig
• sig: Uint8Array
Defined in
packages/core/dist/instructions/signto.d.ts:9
Methods
toBytes
▸ toBytes(): Uint8Array
Returns
Uint8Array
Inherited from
Defined in
packages/core/dist/instruction.d.ts:29
fromBytes
▸ fromBytes(bytes
): Instruction
Parameters
Name | Type |
---|---|
bytes | Uint8Array |
Returns
Inherited from
Defined in
packages/core/dist/instruction.d.ts:28