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