Function: getEnterInstructionAsync()
ts
function getEnterInstructionAsync<
TAccountReflection,
TAccountStake,
TAccountReward,
TAccountAuthority,
TAccountSystemProgram,
TProgramAddress,
>(
input,
config?
): Promise<
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 | EnterAsyncInput<TAccountReflection, TAccountStake, TAccountReward, TAccountAuthority, TAccountSystemProgram> |
config? | { programAddress?: TProgramAddress; } |
config.programAddress? | TProgramAddress |
Returns
Promise<EnterInstruction<TProgramAddress, TAccountReflection, TAccountStake, TAccountReward, TAccountAuthority, TAccountSystemProgram, []>>