UNPKG

@nosana/kit

Version:

Nosana KIT

11 lines 593 B
import type { getStakeInstruction } from '@nosana/stake-program'; import type { InstructionsHelperParams } from './types.js'; export type StakeParams = { amount: number | bigint; /** Unstake period in days */ days: number; }; export type StakeInstruction = ReturnType<typeof getStakeInstruction>; export type CreateStake = (params: StakeParams) => Promise<StakeInstruction>; export declare function stake({ amount, days }: StakeParams, { config, deps, client, getRequiredWallet, getNosATA }: InstructionsHelperParams): Promise<StakeInstruction>; //# sourceMappingURL=stake.d.ts.map