StakeInstruction
Stake Instruction class
Static Method Summary
Static Public Methods | ||
public static |
decodeAuthorize(instruction: TransactionInstruction): AuthorizeStakeParams Decode an authorize stake instruction and retrieve the instruction params. |
|
public static |
Decode an authorize-with-seed stake instruction and retrieve the instruction params. |
|
public static |
decodeDeactivate(instruction: TransactionInstruction): DeactivateStakeParams Decode a deactivate stake instruction and retrieve the instruction params. |
|
public static |
decodeDelegate(instruction: TransactionInstruction): DelegateStakeParams Decode a delegate stake instruction and retrieve the instruction params. |
|
public static |
decodeInitialize(instruction: TransactionInstruction): InitializeStakeParams Decode a initialize stake instruction and retrieve the instruction params. |
|
public static |
decodeInstructionType(instruction: TransactionInstruction): StakeInstructionType Decode a stake instruction and retrieve the instruction type. |
|
public static |
decodeSplit(instruction: TransactionInstruction): SplitStakeParams Decode a split stake instruction and retrieve the instruction params. |
|
public static |
decodeWithdraw(instruction: TransactionInstruction): WithdrawStakeParams Decode a withdraw stake instruction and retrieve the instruction params. |
Static Public Methods
public static decodeAuthorize(instruction: TransactionInstruction): AuthorizeStakeParams source
Decode an authorize stake instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeAuthorizeWithSeed(instruction: TransactionInstruction): AuthorizeWithSeedStakeParams source
Decode an authorize-with-seed stake instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeDeactivate(instruction: TransactionInstruction): DeactivateStakeParams source
Decode a deactivate stake instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeDelegate(instruction: TransactionInstruction): DelegateStakeParams source
Decode a delegate stake instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeInitialize(instruction: TransactionInstruction): InitializeStakeParams source
Decode a initialize stake instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeInstructionType(instruction: TransactionInstruction): StakeInstructionType source
Decode a stake instruction and retrieve the instruction type.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeSplit(instruction: TransactionInstruction): SplitStakeParams source
Decode a split stake instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeWithdraw(instruction: TransactionInstruction): WithdrawStakeParams source
Decode a withdraw stake instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |