Function: getCleanInstruction()
ts
function getCleanInstruction<
TAccountJob,
TAccountMarket,
TAccountPayer,
TProgramAddress,
>(
input,
config?,
): CleanInstruction<
TProgramAddress,
TAccountJob,
TAccountMarket,
TAccountPayer
>;Type Parameters
| Type Parameter | Default type |
|---|---|
TAccountJob extends string | - |
TAccountMarket extends string | - |
TAccountPayer extends string | - |
TProgramAddress extends Address | Address<"nosJhNRqr2bc9g1nfGDcXXTXvYUmxD4cVwy2pMWhrYM"> |
Parameters
| Parameter | Type |
|---|---|
input | CleanInput<TAccountJob, TAccountMarket, TAccountPayer> |
config? | { programAddress?: TProgramAddress; } |
config.programAddress? | TProgramAddress |
Returns
CleanInstruction<TProgramAddress, TAccountJob, TAccountMarket, TAccountPayer>