UNPKG

@nosana/kit

Version:

Nosana KIT

10 lines (9 loc) 581 B
import type { Address } from '@solana/kit'; import type { getDelistInstruction } from '../../../../generated_clients/jobs/index.js'; import type { InstructionsHelperParams } from './types.js'; export type DelistParams = { job: Address; }; export type DelistInstruction = ReturnType<typeof getDelistInstruction>; export type Delist = (params: DelistParams) => Promise<DelistInstruction>; export declare function delist({ job }: DelistParams, { config, deps, client, get, getRequiredWallet, getStaticAccounts, getNosATA, }: InstructionsHelperParams): Promise<DelistInstruction>;