UNPKG

@nosana/kit

Version:

Nosana KIT

11 lines 641 B
import type { Address, TransactionSigner } from '@solana/kit'; import type { getCloseInstruction } from '@nosana/jobs-program'; import type { InstructionsHelperParams } from './types.js'; export type CloseParams = { market: Address; payer?: TransactionSigner; }; export type CloseInstruction = ReturnType<typeof getCloseInstruction>; export type Close = (params: CloseParams) => Promise<CloseInstruction>; export declare function close({ market, payer }: CloseParams, { config, deps, client, getRequiredWallet, getStaticAccounts, getNosATA, }: InstructionsHelperParams): Promise<CloseInstruction>; //# sourceMappingURL=close.d.ts.map