Function: getEnterInstruction()
ts
function getEnterInstruction<
TAccountReflection,
TAccountStake,
TAccountReward,
TAccountAuthority,
TAccountSystemProgram,
TProgramAddress,
>(
input,
config?
): EnterInstruction<
TProgramAddress,
TAccountReflection,
TAccountStake,
TAccountReward,
TAccountAuthority,
TAccountSystemProgram
>;Type Parameters
| Type Parameter | Default type |
|---|---|
TAccountReflection extends string | - |
TAccountStake extends string | - |
TAccountReward extends string | - |
TAccountAuthority extends string | - |
TAccountSystemProgram extends string | - |
TProgramAddress extends Address | Address<"nosRB8DUV67oLNrL45bo2pFLrmsWPiewe2Lk2DRNYCp"> |
Parameters
| Parameter | Type |
|---|---|
input | EnterInput<TAccountReflection, TAccountStake, TAccountReward, TAccountAuthority, TAccountSystemProgram> |
config? | { programAddress?: TProgramAddress; } |
config.programAddress? | TProgramAddress |
Returns
EnterInstruction<TProgramAddress, TAccountReflection, TAccountStake, TAccountReward, TAccountAuthority, TAccountSystemProgram>