Type Alias: UpdateInstruction<TProgram, TAccountMarket, TAccountAccessKey, TAccountAuthority, TRemainingAccounts>
ts
type UpdateInstruction<TProgram, TAccountMarket, TAccountAccessKey, TAccountAuthority, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket, TAccountAccessKey extends string ? ReadonlyAccount<TAccountAccessKey> : TAccountAccessKey, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, ...TRemainingAccounts]>;Type Parameters
| Type Parameter | Default type |
|---|---|
TProgram extends string | typeof NOSANA_JOBS_PROGRAM_ADDRESS |
TAccountMarket extends string | AccountMeta<string> | string |
TAccountAccessKey extends string | AccountMeta<string> | string |
TAccountAuthority extends string | AccountMeta<string> | string |
TRemainingAccounts extends readonly AccountMeta<string>[] | [] |