Static Method Summary
Static Public Methods | ||
public static |
from(instruction: TransactionInstruction): StakeInstruction |
Constructor Summary
Public Constructor | ||
public |
constructor(opts: TransactionInstructionCtorFields, type: StakeInstructionType) |
Member Summary
Public Members | ||
public get |
authorizedPublicKey: PublicKey | nullliteral The |
|
public get |
stakePublicKey: PublicKey | nullliteral The |
|
public get |
Type of StakeInstruction |
Inherited Summary
From class TransactionInstruction | ||
public |
data: Buffer Program input |
|
public |
Public keys to include in this transaction Boolean represents whether this pubkey needs to sign the transaction |
|
public |
Program Id to execute |
Static Public Methods
public static from(instruction: TransactionInstruction): StakeInstruction source
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
Public Constructors
public constructor(opts: TransactionInstructionCtorFields, type: StakeInstructionType) source
Override:
TransactionInstruction#constructorParams:
Name | Type | Attribute | Description |
opts | TransactionInstructionCtorFields | ||
type | StakeInstructionType |
Public Members
public get authorizedPublicKey: PublicKey | nullliteral source
The authorized account
public key of the instruction;
returns null if StakeInstructionType does not support this field