Skip to content

Function: getEnterInstructionAsync() ​

ts
function getEnterInstructionAsync<
  TAccountReflection,
  TAccountStake,
  TAccountReward,
  TAccountAuthority,
  TAccountSystemProgram,
  TProgramAddress,
>(
  input,
  config?
): Promise<
  EnterInstruction<
    TProgramAddress,
    TAccountReflection,
    TAccountStake,
    TAccountReward,
    TAccountAuthority,
    TAccountSystemProgram,
    []
  >
>;

Type Parameters ​

Type ParameterDefault type
TAccountReflection extends string-
TAccountStake extends string-
TAccountReward extends string-
TAccountAuthority extends string-
TAccountSystemProgram extends string-
TProgramAddress extends AddressAddress<"nosRB8DUV67oLNrL45bo2pFLrmsWPiewe2Lk2DRNYCp">

Parameters ​

ParameterType
inputEnterAsyncInput<TAccountReflection, TAccountStake, TAccountReward, TAccountAuthority, TAccountSystemProgram>
config?{ programAddress?: TProgramAddress; }
config.programAddress?TProgramAddress

Returns ​

Promise<EnterInstruction<TProgramAddress, TAccountReflection, TAccountStake, TAccountReward, TAccountAuthority, TAccountSystemProgram, []>>