SystemInstruction
System Instruction class
Static Method Summary
Static Public Methods | ||
public static |
decodeAllocate(instruction: TransactionInstruction): AllocateParams Decode an allocate system instruction and retrieve the instruction params. |
|
public static |
decodeAllocateWithSeed(instruction: TransactionInstruction): AllocateWithSeedParams Decode an allocate with seed system instruction and retrieve the instruction params. |
|
public static |
decodeAssign(instruction: TransactionInstruction): AssignParams Decode an assign system instruction and retrieve the instruction params. |
|
public static |
decodeAssignWithSeed(instruction: TransactionInstruction): AssignWithSeedParams Decode an assign with seed system instruction and retrieve the instruction params. |
|
public static |
decodeCreateAccount(instruction: TransactionInstruction): CreateAccountParams Decode a create account system instruction and retrieve the instruction params. |
|
public static |
Decode a create account with seed system instruction and retrieve the instruction params. |
|
public static |
decodeInstructionType(instruction: TransactionInstruction): SystemInstructionType Decode a system instruction and retrieve the instruction type. |
|
public static |
decodeNonceAdvance(instruction: TransactionInstruction): AdvanceNonceParams Decode a nonce advance system instruction and retrieve the instruction params. |
|
public static |
decodeNonceAuthorize(instruction: TransactionInstruction): AuthorizeNonceParams Decode a nonce authorize system instruction and retrieve the instruction params. |
|
public static |
decodeNonceInitialize(instruction: TransactionInstruction): InitializeNonceParams Decode a nonce initialize system instruction and retrieve the instruction params. |
|
public static |
decodeNonceWithdraw(instruction: TransactionInstruction): WithdrawNonceParams Decode a nonce withdraw system instruction and retrieve the instruction params. |
|
public static |
decodeTransfer(instruction: TransactionInstruction): TransferParams Decode a transfer system instruction and retrieve the instruction params. |
|
public static |
decodeTransferWithSeed(instruction: TransactionInstruction): TransferWithSeedParams Decode a transfer with seed system instruction and retrieve the instruction params. |
Static Public Methods
public static decodeAllocate(instruction: TransactionInstruction): AllocateParams source
Decode an allocate system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeAllocateWithSeed(instruction: TransactionInstruction): AllocateWithSeedParams source
Decode an allocate with seed system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeAssign(instruction: TransactionInstruction): AssignParams source
Decode an assign system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeAssignWithSeed(instruction: TransactionInstruction): AssignWithSeedParams source
Decode an assign with seed system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeCreateAccount(instruction: TransactionInstruction): CreateAccountParams source
Decode a create account system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeCreateWithSeed(instruction: TransactionInstruction): CreateAccountWithSeedParams source
Decode a create account with seed system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeInstructionType(instruction: TransactionInstruction): SystemInstructionType source
Decode a system instruction and retrieve the instruction type.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeNonceAdvance(instruction: TransactionInstruction): AdvanceNonceParams source
Decode a nonce advance system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeNonceAuthorize(instruction: TransactionInstruction): AuthorizeNonceParams source
Decode a nonce authorize system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeNonceInitialize(instruction: TransactionInstruction): InitializeNonceParams source
Decode a nonce initialize system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeNonceWithdraw(instruction: TransactionInstruction): WithdrawNonceParams source
Decode a nonce withdraw system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeTransfer(instruction: TransactionInstruction): TransferParams source
Decode a transfer system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |
public static decodeTransferWithSeed(instruction: TransactionInstruction): TransferWithSeedParams source
Decode a transfer with seed system instruction and retrieve the instruction params.
Params:
Name | Type | Attribute | Description |
instruction | TransactionInstruction |