@nosana/kit
Version:
Nosana KIT
16 lines • 881 B
TypeScript
import { type Address, type TransactionSigner } from '@solana/kit';
import type { getOpenInstruction } from '@nosana/jobs-program';
import type { InstructionsHelperParams } from './types.js';
export type OpenParams = {
nodeAccessKey?: Address;
jobExpiration?: number | bigint;
jobType?: number;
jobPrice?: number | bigint;
jobTimeout?: number | bigint;
nodeStakeMinimum?: number | bigint;
payer?: TransactionSigner;
};
export type OpenInstruction = ReturnType<typeof getOpenInstruction>;
export type Open = (params?: OpenParams) => Promise<OpenInstruction>;
export declare function open({ nodeAccessKey, jobExpiration, jobType, jobPrice, jobTimeout, nodeStakeMinimum, payer, }: OpenParams | undefined, { config, deps, client, getRequiredWallet, getStaticAccounts }: InstructionsHelperParams): Promise<OpenInstruction>;
//# sourceMappingURL=open.d.ts.map