UNPKG

@nosana/kit

Version:

Nosana KIT

11 lines 617 B
import type { Address } from '@solana/kit'; import type { getCompleteInstruction } from '@nosana/jobs-program'; import type { InstructionsHelperParams } from './types.js'; export type CompleteParams = { job: Address; ipfsResultsHash: string; }; export type CompleteInstruction = ReturnType<typeof getCompleteInstruction>; export type Complete = (params: CompleteParams) => Promise<CompleteInstruction>; export declare function complete({ job, ipfsResultsHash }: CompleteParams, { client, get, getRequiredWallet }: InstructionsHelperParams): Promise<CompleteInstruction>; //# sourceMappingURL=complete.d.ts.map