@nosana/kit
Version:
Nosana KIT
13 lines • 706 B
TypeScript
import { type Address, type TransactionSigner } from '@solana/kit';
import type { getListInstruction } from '@nosana/jobs-program';
import type { InstructionsHelperParams } from './types.js';
export type ListParams = {
market: Address;
timeout: number | bigint;
ipfsHash: string;
payer?: TransactionSigner;
};
export type ListInstruction = ReturnType<typeof getListInstruction>;
export type List = (params: ListParams) => Promise<ListInstruction>;
export declare function list({ market, timeout, ipfsHash, payer }: ListParams, { config, deps, client, getRequiredWallet, getStaticAccounts, getNosATA, }: InstructionsHelperParams): Promise<ListInstruction>;
//# sourceMappingURL=list.d.ts.map